Open issues

DDMS 4.0.1 Parsing Fails

Description

(Imported from Google Code)
(Original author: ariel@arielvalentin.com)
<b>What steps will reproduce the problem?</b>
1. Attempt to parse a document with missing subjectCoverage using DDMS version 4.0.1

DDMSVersion version = DDMSVersion.getVersionFor(&quot;4.0.1&quot;
final DDMSReader ddmsReader = new DDMSReader(version);
ddmsReader.getDDMSResource(ddmsXml);

This block of code raises a InvalidDDMSException
nu.xom.ValidityException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ddms:security'. One of '{&quot;urn:us:mil:ces:metadata:ddms:4&quot;:creator, &quot;urn:us:mil:ces:metadata:ddms:4&quot;ublisher, &quot;urn:us:mil:ces:metadata:ddms:4&quot;:contributor, &quot;urn:us:mil:ces:metadata:ddms:4&quot;ointOfContact, &quot;urn:us:mil:ces:metadata:ddms:4&quot;:format, &quot;urn:us:mil:ces:metadata:ddms:4&quot;:subjectCoverage}' is expected. at line 53, column 130

<b>What is the expected output? What do you see instead?</b>

DDMS 4.0.1 does not require subjectCoverage it should just parse the document without errors

<b>What version of the product are you using? On what operating system?</b>
DDMSence 2.2.0 on Java 6 CentOS 6.4

<b>Please provide any additional information below.</b>

Environment

None

Status

Assignee

Brian Uri

Reporter

Brian Uri

Labels

None

Priority

Medium
Configure