mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fixed bug #48512 (DOMDocument::validate() fails with both a E_NOTICE and
E_WARN if no DTD) # Will MFH to 5.3 after RC
This commit is contained in:
parent
b775205cec
commit
aafa45d804
1 changed files with 1 additions and 5 deletions
|
@ -1967,10 +1967,6 @@ 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…
Add table
Add a link
Reference in a new issue