Project

General

Profile

Bug #2308

No metadata shown if schemaLocation attribute set improperly

Added by Will Tyburczy about 14 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
12/05/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2308

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.

19.4 (51 KB) 19.4 Will Tyburczy, 12/05/2005 11:10 AM

History

#1 Updated by Will Tyburczy about 14 years ago

Notice that basically no metadata is displayed when the dp is opened. The scope
of this document is knb-lter-kbs

#2 Updated by Jing Tao over 10 years ago

move to 1.7.1

#3 Updated by ben leinfelder about 10 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.

#4 Updated by Redmine Admin almost 7 years ago

Original Bugzilla ID was 2308

Also available in: Atom PDF