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 "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2008/11/03 00:38:44 UTC
[jira] Assigned: (XERCESJ-1326) StackOverflowException when parsing
against a schema with a pattern
[ https://issues.apache.org/jira/browse/XERCESJ-1326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Glavassevich reassigned XERCESJ-1326:
---------------------------------------------
Assignee: 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: Michael Glavassevich
>
> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org