If honour-all-schemaLocations is enabled, XSDHandler.constructTrees(...) fails
to find already processed document info
----------------------------------------------------------------------------------------------------------------------
Key: XERCESJ-1546
URL: https://issues.apache.org/jira/browse/XERCESJ-1546
Project: Xerces2-J
Issue Type: Bug
Reporter: Vitalii Kovalenko
If honour-all-schemaLocations is enabled and the entity resolver returns either
DOMInputSource or SAXInputSource, fLastSchemaWasDuplicate is not updated and it
will contain value from the previous iteration which might be invalid for the
current schema. For example, if http://www.w3.org/2001/XMLSchema has been
processed twice, fLastSchemaWasDuplicate will be set to true. After that if the
entity resolver returns DOMInputSource, XSDHandler.constructTrees(...) will try
to get document info from fDoc2XSDocumentMap which is not there and as a result
schema will be ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]