Ambiguous definitions in the schema
|Component:||Open Packaging Format (OPF)|
|Status:||completed @ 2.0.1|
There are definitions which are clearly defined in the document, but have not been reflected into the schema. 1) "DC.language-element" should be "OPF20.optional-xsi-type" should be removed, because of "The Dublin Core permits other descriptions as well; this specification does not." in 2.2.12. 2) All href attributes should be 3) The definition for shold be I'm not sure if the spec allows to have empty value for the date and the language.
Specifically the following changes will be made to the OPF RNG Schema.
1. The "<ref name="OPF20.optional-xsi-type"/>" attribute specifier will be removed for the "dc:identifier", "dc:language", "dc:date", "dc:format" and "dc:type" elements.
2. The data type for the "href" attribute of the <item>, <site> and <reference> elements will be changed from:
<data type="anyURI" />
3. The <reference> element of <guide> will be changed from <zeroOrMore> to <oneOrMore>
4. The other two items in this issue ("toc" being non-optional on <spine>, and correction of the spelling of "scheme" on <meta>) were fixed before the final release of OPF 2.0, so nothing needs to be done for them.