question: public void testIsDefaultNamespaceNull_XercesBugs ( ) { String message = "isDefaultNamespace() should be consistent with lookupNamespaceURI(null)" ; assertTrue ( message , doctype . isDefaultNamespace ( null ) ) ; if ( sp != null ) { assertTrue ( message , sp . isDefaultNamespace ( null ) ) ; } if ( png != null ) { assertTrue ( message , png . isDefaultNamespace ( null ) ) ; } }
target:  Xerces fails this test. It returns false always for entity, notation, document fragment and document type nodes. This contradicts its own behaviour on lookupNamespaceURI(null).