adding NodeInterface.compareDocumentPosition