Chris Simmons created XERCESJ-1563:
--------------------------------------
Summary: XMLGrammarPool receives uninitialized XMLSchemaDescription
Key: XERCESJ-1563
URL: https://issues.apache.org/jira/browse/XERCESJ-1563
Project: Xerces2-J
Issue Type: Bug
Components: XML Schema API, XNI
Affects Versions: 2.11.0
Environment: Linux
Reporter: Chris Simmons
When the schema validator requests a grammar from its grammar pool it initially
passes an XMLSchemaDescription in which only the namespace is set. Moreover,
the description it not reset at this point so it may have fields set based on
some previous unrelated grammar.
This is a regression since 2.9.1.
Our grammar pool uses the same logic as our entity resolver to figure out where
a grammar came from. This relies on the same information being available when
retrieving a cached grammar and parsing it for the first time (particularly the
context type, schema location hints and base system id).
--
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]