[ 
https://issues.apache.org/jira/browse/XERCESJ-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207646#comment-14207646
 ] 

Senduran commented on XERCESJ-1650:
-----------------------------------

Hi,
I debug the xercesimpl 2.8.1 and following is my finding.
The Boolean field "fLastSchemaWasDuplicate" in 
org.apache.xerces.impl.xs.traversers.XSDHandler is not getting updated so the 
constructTree(...) recursive call is always being called.
But the Hashtable "fTraversed" is getting updated whenever a resource is 
resolved.

Regards
Senduran

> Stackoverflow error when having a cyclic import/include in XSD
> --------------------------------------------------------------
>
>                 Key: XERCESJ-1650
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1650
>             Project: Xerces2-J
>          Issue Type: Bug
>    Affects Versions: 2.8.1
>         Environment: Linux, java 1.7
>            Reporter: Senduran
>         Attachments: schema-resolver-test.zip
>
>
> The attached sample can reproduce the issue.
> Please run the sample by issuing the following command
> $  mvn package exec:java -Dexec.mainClass="com.schema.test.TestValidate"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to