You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Khaled Noaman (JIRA)" <xe...@xml.apache.org> on 2011/09/19 16:05:09 UTC

[jira] [Created] (XERCESJ-1536) XML Schema 1.1 - NOTATION datatype - Schema Component Constraint

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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] [Resolved] (XERCESJ-1536) XML Schema 1.1 - NOTATION datatype - Schema Component Constraint

Posted by "Khaled Noaman (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Khaled Noaman resolved XERCESJ-1536.
------------------------------------

    Resolution: Fixed

Fix checked in

http://svn.apache.org/viewvc?rev=1172656&view=rev

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org