Xerces2-J
  1. Xerces2-J
  2. XERCESJ-1143

Propagation of Features from SchemaFactory to Schema/Validator/ValidatorHandler

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major 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
        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
        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.
        Hide
        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
        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.

          People

          • Assignee:
            Michael Glavassevich
            Reporter:
            Peter McCracken
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development