Project

General

Profile

Bug #635

Metacat needs to be made namespace/schema aware

Added by Chad Berkley about 17 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
metacat
Target version:
Start date:
10/17/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
635

Description

We have issues with the fact that Metacat can only do dtd validation and not
schema validation and it only recognized doctypes and not namespaces. This is a
problem because I want to be able to insert an EML2 file into metacat and tell
metacat that it is a "packagefile" but I can't do it because EML2 does not have
dtds and hence no doctypes. I think this bug needs to be given pretty high
priority since we want to have all of our systems integrated and working with
eml2 by early 2003.

History

#1 Updated by Jing Tao almost 17 years ago

The first thing we need to do is to update xerces from 1.4.3 to 2. This parser
can handle schema validation better. We can use the both Xerces parser and
EMLParser in eml module to validate eml xml2 documents.

EML namespace will be put into xml_catalog table and Metacat can recongize the
eml2 documents.

#2 Updated by Jing Tao over 16 years ago

Now metacat knowes namespace and when you insert a xml into metacat, the
namepace will be stored in xml_documents as doctype.

Metacat can do schema validation for both namespace and nonamespace. For
namespace validation, if the namespace is already registered in xml_catalog
table, metacat will ignored the schema location specified in xml file and uses
the value in the table(systemid). If a name space is not registered in
xml_catalog table, metacat will download the schema, store into metacat server
and register them in xml_catalog table.

The EMLParser class was revised and it can be used for metacat. For eml2
documents, metacat will validate it by both EMLparser and schema.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 635

Also available in: Atom PDF