Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#930 DOM wrapper uses == for node identity

v9.1
closed
nobody
5
2012-10-08
2009-03-17
Michael Kay
No

The DOM wrapper code uses "==" to test whether two objects represent the same DOM Node. This is incorrect; it should use the isSameNode() method.

A patch is being committed on the 9.1 branch, module net.sf.saxon.dom.DocumentWrapper (it has missed the 9.1.0.6 release).

No test case.

Discussion

  • Michael Kay
    Michael Kay
    2009-06-17

    Fixed in 9.1.0.7