[
https://issues.apache.org/jira/browse/XERCESJ-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17856204#comment-17856204
]
Artur Smirnov commented on XERCESJ-1764:
----------------------------------------
I was confused by the error "Unmarshalling Error: cvc-datatype-valid.1.2.1:
'AIJ' is not a valid value for 'NMTOKEN'.".
I didn't think that the nmtoken validation method would also validate String
according to XML rules. It looks correct if it is used for XML only.
> NMToken is not validated correctly.
> -----------------------------------
>
> Key: XERCESJ-1764
> URL: https://issues.apache.org/jira/browse/XERCESJ-1764
> Project: Xerces2-J
> Issue Type: Bug
> Affects Versions: 2.12.2
> Reporter: Artur Smirnov
> Priority: Major
>
> Validate NMToken method doesnt work right
> (org.apache.xerces.util.XMLChar#isValidNmtoken). For example "AIJ" ("A" +
> 0x132) (0x132 in #xF8-#x2FF range). According w3org #xF8-#x2FF is a valid
> range. But for "AIJ" the method returns false.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]