Bug #2308
closedNo metadata shown if schemaLocation attribute set improperly
0%
Description
If the xsi:schemaLocation attribute of the eml element of a document is set
improperly, no metadata (creator, coverage, table descriptions, etc) for the dp
are shown. Removing the attribute altogether allows the dp to display properly.
Morpho should be using the namespace rather than the schemaLocation to
determine the type of the eml document.
Files
Updated by Will Tyburczy almost 19 years ago
Notice that basically no metadata is displayed when the dp is opened. The scope
of this document is knb-lter-kbs
Updated by ben leinfelder almost 15 years ago
while this example of a "bad" schemaLocation isn't really a valid use of the schemaLocation attribute, I do think we should be using the root node's namespace first and then looking for the schema location if the root node did not give us a namespace.
I've made this switch and tested with both good and bad example documents.