Comparing the positions of two disconnected nodes should result in DOCUMENT_POSITION_DISCONNECTED.