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

Propagation of Features from SchemaFactory to Schema/Validator/ValidatorHandler

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.8.0
    • Labels:
      None

      Description

      JAXP 1.4 clarifies that features that are set on the SchemaFactory are propagated to Schema objects created from that factory, which in turn propagate the featues to Validators and ValidatorHandlers created from the schema.

        Activity

        Hide
        peterjm Peter McCracken added a comment -

        The ZIP contains small patches for eight files in org.apache.xerces.jaxp.validation to implement feature propagation from SchemaFactorys. It also includes a test case.

        Show
        peterjm Peter McCracken added a comment - The ZIP contains small patches for eight files in org.apache.xerces.jaxp.validation to implement feature propagation from SchemaFactorys. It also includes a test case.
        Hide
        mrglavas@ca.ibm.com Michael Glavassevich added a comment -

        Thanks Peter. I've committed your patches to SVN with a few modifications. The secure processing feature was not being read from the XSGrammarPoolContainer in the constructor of XMLSchemaValidatorComponentManager. I fixed that and added a test to verify that it works.

        Show
        mrglavas@ca.ibm.com Michael Glavassevich added a comment - Thanks Peter. I've committed your patches to SVN with a few modifications. The secure processing feature was not being read from the XSGrammarPoolContainer in the constructor of XMLSchemaValidatorComponentManager. I fixed that and added a test to verify that it works.

          People

          • Assignee:
            mrglavas@ca.ibm.com Michael Glavassevich
            Reporter:
            peterjm Peter McCracken
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development