I have a tool that programmatically invokes stsadm.exe and parses the results. The output looks like XML, so I've been using an XML parser to read it. One of my customers ran my tool on a French MOSS installation, and the XML parse fails. Sure enough, if you run "stsadm -o enumzoneurls" from the command line, you get this:
<ZoneUrls>
<Collection Name="Administration centrale">
<Par défaut>http://machine:7955</Par défaut>
</Collection>
<Collection Name="SharePoint - 38089">
<Par défaut>http://machine:38089</Par défaut>
</Collection>
<Collection Name="SharePoint - 80">
<Par défaut>http://machine</Par défaut>
</Collection>
</ZoneUrls>
Tag names are not allowed to have spaces in them, so this is not legal XML. At this point I question my assumption that stsadm returns XML, and try to find some sort of guarantee. I can't find any documentation about the output of stsadm at all (e.g. here).
So I guess my questions are: does anyone know of any documentation on the output of stsadm? What are your strategies for handling non-English installations?