http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#Node3-isEqualNode It appears that we don't properly compare the document types.
*** This bug has been marked as a duplicate of bug 42021 ***
Mass moving XML DOM bugs to the "DOM" Component.