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

Cannot set XMLGrammarPool to null on the DOMConfiguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.1
    • DOM (Level 3 Core)
    • None

    Description

      There's one test (domconfigparameternames01) in the W3C DOM Level 3 Core test suite which currently fails because it cannot set the XMLGrammarPool parameter to null (which is its initial value). Applications should be able to remove their grammar pool from the DOMConfiguration if they have previously set one.

      1) http://www.w3.org/2001/DOM-Test-Suite/level3/core/domconfigparameternames01(org.w3c.domts.JUnitTestCaseAdapter)
      org.w3c.dom.DOMException: TYPE_MISMATCH_ERR: The value type for this parameter name is incompatible with the expected value type.
      at org.apache.xerces.dom.DOMConfigurationImpl.setParameter(Unknown Source)
      at org.w3c.domts.level3.core.domconfigparameternames01.runTest(domconfigparameternames01.java:96)

      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: