[
https://issues.apache.org/jira/browse/XERCESJ-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13051997#comment-13051997
]
Mukul Gandhi commented on XERCESJ-639:
--------------------------------------
I'm trying regexes on latest Xerces SVN code base.
There was an issue resolved recently by Sandy Gao (ref,
https://issues.apache.org/jira/browse/XERCESJ-1511), which seems to have solved
the bug you've cited.
> Regex of ")" not rejected
> -------------------------
>
> Key: XERCESJ-639
> URL: https://issues.apache.org/jira/browse/XERCESJ-639
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Datatypes
> Affects Versions: 2.3.0
> Environment: Operating System: Other
> Platform: Other
> Reporter: James Clark
>
> Xerces fails to reject the following schema:
> <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
> <xs:element name="test">
> <xs:simpleType>
> <xs:restriction base="xs:string">
> <xs:pattern value=")"/>
> </xs:restriction>
> </xs:simpleType>
> </xs:element>
> </xs:schema>
> (It treats it as equivalent to value="".)
--
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]