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

Node comparison with == should be replaced by isSameNode() test for DOM Level 3 nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0, 2.7.1, 2.8.0, 2.8.1, 2.9.0
    • 2.9.1
    • None

    Description

      Class org.apache.xerces.jaxp.validation.DOMValidatorHelper has function private void validate(Node node) that traverses the descendants of a DOM node.
      In this traversal, nodes are compared with '=='. This may give problems with DOM implementations other than the Xerces implementation.

      Similar issue: case XERCESJ-1127

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: