Documents with DTD declarations cannot be inserted
Working with Choonhan Youn at SDSC (firstname.lastname@example.org): they are developing a skin that makes use of the FGDC upload feature included in the SANParks skin. They want to use the ArcCatalog export format that includes the DTD declaration in the XML instance.
Metacat was fetching the DTD from the fgdc.gov source, saving it to the local Metacat install, but not successfully registering it in the xml_catalog table.
On subsequent insert attempts, a "file already exists" error was raised and an insert could not continue.
#1 Updated by ben leinfelder over 13 years ago
Fixed the DTD registration in the xml_catalog table.
Now just warning about pre-existing DTDs when [re]fetching from remote sources and then overwriting with the newer DTD.
Note: this does not address ArcCatalog's noncompliance with the fgdc DTD which causes metacat to complain and prevent insert. Once the document is valid, the insert works.