No metadata shown if schemaLocation attribute set improperly
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.
#3 Updated by ben leinfelder over 12 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.