Bug #3817
closedDocuments with DTD declarations cannot be inserted
0%
Description
Background:
Working with Choonhan Youn at SDSC (cyoun@sdsc.edu): 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.
Problem:
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.
Updated by ben leinfelder almost 16 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.