Browse Source

Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and


			
			
				experimental/first_unicode_implementation
			
			
		
Ilia Alshanetsky 17 years ago
parent
commit
aafa45d804
  1. 6
      ext/dom/document.c

6
ext/dom/document.c

@ -1966,11 +1966,7 @@ PHP_FUNCTION(dom_document_validate)
}
DOM_GET_OBJ(docp, id, xmlDocPtr, intern);
if (docp->intSubset == NULL) {
php_error_docref(NULL TSRMLS_CC, E_NOTICE, "No DTD given in XML-Document");
}
cvp = xmlNewValidCtxt();
cvp->userData = NULL;

Loading…
Cancel
Save