Project

General

Profile

Actions

Bug #2377

closed

No Default Namespace in Records

Added by David Sledge over 18 years ago. Updated over 18 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).

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 2377

Actions

Also available in: Atom PDF