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 bu...@apache.org on 2003/01/29 22:42:38 UTC

DO NOT REPLY [Bug 16563] New: - Parser accepts invalid regular expression

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16563>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16563

Parser accepts invalid regular expression

           Summary: Parser accepts invalid regular expression
           Product: Xerces2-J
           Version: 2.2.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema datatypes
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: nmehrega@ca.ibm.com
                CC: nddelima@ca.ibm.com


The parser doesn't generate error messages for the following invalid regular 
expressions:

<simpleType name="bytPattern">
	<restriction base="byte">
		<pattern value="[a-\l0]"/>
                <pattern value="[a--z]"/>
		<pattern value="[0--9]"/>
		<pattern value="1-0"/>
	</restriction>	
</simpleType>

<!-- Note: \l is not a valid singleCharEsc -->

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org