[ 
https://issues.apache.org/jira/browse/XERCESJ-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085718#comment-13085718
 ] 

Michael Glavassevich commented on XERCESJ-1525:
-----------------------------------------------

We shouldn't just change that on the user (by default) without them choosing 
it. The spec allows either the XML 1.0, XML 1.1 or both sets of rules to be 
supported: "It is ·implementation-defined· whether an implementation of this 
specification supports the NMTOKEN production from [XML], or that from [XML 
1.0], or both." In my opinion we should make our default compatible with the 
behaviour they always got from the XML Schema 1.0 processor and provide a 
feature (see this page [1] on the Wiki) for specifying that the XML 1.1 
productions be used.

[1] http://wiki.apache.org/xerces/Xerces-J%3A_XML_Schema_1.1_Design_Thoughts

> With XSD 1.1, using the XML 1.1 rules for validating NMTOKEN, Name, NCName 
> and QName values
> -------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1525
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1525
>             Project: Xerces2-J
>          Issue Type: New Feature
>          Components: XML Schema 1.1 Structures
>    Affects Versions: 2.11.0
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>
> XML Schema 1.1 introduces support for XML 1.1. We did the following 
> enhancement related to this, post Xerces release 2.11.0,
> If working in XSD 1.1 mode, we now use the XML 1.1 rules for validating the 
> NMTOKEN, Name, NCName and QName values, else (i.e with XSD 1.0 mode) we use 
> the XML 1.0 rules.

--
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]

Reply via email to