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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment