Bug #2377
closedNo Default Namespace in Records
0%
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).
Updated by Saurabh Garg over 18 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.
Updated by David Sledge over 18 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.