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));
  }
}

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 ) ) ; } }
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 ) .
