Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1463

XMLSchemaValidator.findSchemaGrammar() is not called for substitution groups.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.0
    • 2.11.0
    • None

    Description

      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.

      Attachments

        Activity

          People

            mrglavas@ca.ibm.com Michael Glavassevich
            mrglavas@ca.ibm.com Michael Glavassevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: