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

With XMLGrammarCachingConfiguration, some Text nodes are completely missing from the DOM.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.1
    • DOM (Level 3 Core)
    • None
    • Java-1.4.2_09, Eclipse_3.2RC7, JUnit, tests parsing complex document with embedded XML DSIG using namespaces.

    Description

      I am parsing a document which has an XML DSIG signature, when I turn on System.setProperty( "org.apache.xerces.xni.parser.XMLParserConfiguration", "org.apache.xerces.parsers.XMLGrammarCachingConfiguration"); sometimes (I think the first time is fine, the second time and higher it fails) the "SignatureValue" Element node has child Text node. Parsing without the Caching configuration is find, there is always a Text node under the SignatureValue Element node. Parsing with the CachingConfiguration, the first time it has a Text child node, the next time and thereafter, there is no child of the SignatureValue node at all.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: