I am creating an ESRi XML Workspace document in some of my own C# code. The XML doc that is produced validates against the GdbExchange.xsd schema provided by ESRI. However, when I use ArcCatalog to import the XML document into a newly created Personal Geodatabase (.mdb) I get the following error:
Import xml data failed FDO error: -2147186428 [XML parse error: Unspecified error [Line: 415, column: 23].]
The line and column indicated above are:
... </DatasetDefinitions> <Metadata xsi:type="esri:XmlPropertySet"> <XmlDoc /> </Metadata> </WorkspaceDefinition> <!-- THIS LINE --> <WorkspaceData xsi:type="esri:WorkspaceData"> <DatasetData xsi:type="esri:TableData"> <DatasetName>PointInspections</DatasetName> ...
(Column 23 is after the closing angle bracket, ">", an the line marked "< !-- THIS LINE -->")
Given that the XML document is valid, how can I get more useful information from ArcGIS?
(There is a somewhat similar question asked here: Importing XML file in ArcGIS failed, but that didn't have a resolution that worked for me...)