Project

General

Profile

Bug #2377

No Default Namespace in Records

Added by David Sledge almost 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
03/02/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2377

Description

Looking at this record in metacat in XML, I noticed that only the root element
has a prefix ("eml:"), and that there isn’t a default namespace URI declared for
elements without prefixes. I’ve looked at a few other records, and so far they
all follow the same pattern.

I tried to see if the records would validate against the eml*.xsd files despite
not having prefixes, but then I ran into bug 2054
(http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2054).

History

#1 Updated by Saurabh Garg over 13 years ago

David, can you show an example where this is the case. If the EML doesnt have namespace specified then the namespace wasnt probably specified when the document was inserted.

#2 Updated by David Sledge over 13 years ago

Sorry, I meant to close this out. I looked up the XSD specs and the "elementFormDefault" attribute, and I found a workaround for bug 2054 to get it to validate.

#3 Updated by Redmine Admin almost 7 years ago

Original Bugzilla ID was 2377

Also available in: Atom PDF