XMLSchemaValidator.findSchemaGrammar() is not called for substitution groups.
-----------------------------------------------------------------------------
Key: XERCESJ-1463
URL: https://issues.apache.org/jira/browse/XERCESJ-1463
Project: Xerces2-J
Issue Type: Bug
Components: XML Schema 1.0 Structures
Affects Versions: 2.10.0
Reporter: Michael Glavassevich
Priority: Minor
The performance improvement made in XERCESJ-1406 removed an unconditional call
to findSchemaGrammar() which seemed unnecessary but was ensuring that grammars
be loaded for substitution groups. The SubstiutionGroupHandler is accessing the
grammar bucket directly so will not find a declaration if it hasn't already
been loaded. Need to push the findSchemaGrammar() call down to it.
--
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]