[ 
https://issues.apache.org/jira/browse/XERCESJ-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich reassigned XERCESJ-1326:
---------------------------------------------

    Assignee: Khaled Noaman  (was: Michael Glavassevich)

> StackOverflowException when parsing against a schema with a pattern
> -------------------------------------------------------------------
>
>                 Key: XERCESJ-1326
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1326
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.0 Datatypes
>    Affects Versions: 2.9.1
>         Environment: All
>            Reporter: George Cristian Bina
>            Assignee: Khaled Noaman
>
> The following document when parsed against the schema below generates a stack 
> overflow:
> testPattern.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>  xsi:noNamespaceSchemaLocation="testPattern.xsd">ab</root>
> testPattern.xsd
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";>
>     <xs:element name="root">
>         <xs:simpleType>
>             <xs:restriction base="xs:string">
>                 <xs:pattern value="(a|)+"/>
>             </xs:restriction>
>         </xs:simpleType>
>     </xs:element>
> </xs:schema>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to