laptop and a wrench

Bug

When upgrading XML metadata, the upgrade metadata geoprocessing tool does not complete successfully when the XML document contains a 'DOCTYPE metadata system' entry containing a link to a website.

Last Published: June 24, 2019 ArcGIS for Desktop
Bug ID Number BUG-000122109
SubmittedMay 2, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS for Desktop
Version found10.7
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

The ArcGIS platform never adds DOCTYPE entries into item metadata. The DOCTYPE entry can only exist if the metadata originated outside of the ArcGIS platform, and if an unsupported method was used to associate the FGDC-format XML file provided with an item to become its metadata. When a DOCTYPE or XML Schema instance entry is added by a user to an item's metadata document, the entry specifying the XML document must be valid against the provided schema, either an XML DTD or an XML Schema, respectively. If this declaration is made, the XML document is expected to be valid. The document's validity cannot be determined if the schema is unreachable, by definition the XML is invalid, and it will not be processed. This is not a limitation of ArcGIS software. It is a fact of how XML documents are handled in XML software. The error, in this case, is produced by the underlying Microsoft code that is used to process XML documents, not by ArcGIS software. Any DOCTYPE or XML Schema instance location entries added by a customer must be removed to avoid this problem. These entries are never added by ArcGIS software.

Workaround

Remove the DOCTYPE URL from the XML document.

Steps to Reproduce

Bug ID: BUG-000122109

Software:

  • ArcGIS for Desktop

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options