XML Schema 1.1 - NOTATION datatype - Schema Component Constraint
----------------------------------------------------------------
Key: XERCESJ-1536
URL: https://issues.apache.org/jira/browse/XERCESJ-1536
Project: Xerces2-J
Issue Type: Improvement
Components: XML Schema 1.1 Datatypes
Affects Versions: 2.11.0
Reporter: Khaled Noaman
Assignee: Khaled Noaman
Priority: Minor
XML Schema 1.1 clarified the Schema Component Constraint: enumeration facet
value required for NOTATION
It is (with one exception) an error for NOTATION to be used directly to
validate a literal as described in Datatype Valid (4.1.4): only datatypes
derived from NOTATION by specifying a value for enumeration can be used to
validate literals.
The exception is that in the derivation of a new type the literals used to
enumerate the allowed values may be (and in the context of [XSD 1.1 Part 1:
Structures] will be) validated directly against NOTATION; this amounts to
verifying that the value is a QName and that the QName is the name of a
NOTATION declared in the current schema.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]