Project

General

Profile

Actions

Bug #3817

closed

Documents with DTD declarations cannot be inserted

Added by ben leinfelder about 15 years ago. Updated about 15 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
Start date:
02/12/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3817

Description

Background:
Working with Choonhan Youn at SDSC (): 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.

Actions #1

Updated by ben leinfelder about 15 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3817

Actions

Also available in: Atom PDF