ID:               27479
 Updated by:       [EMAIL PROTECTED]
 Reported By:      pet at iv dot ua
-Status:           Open
+Status:           Feedback
 Bug Type:         DOM XML related
 Operating System: FreeBSD 5.2.1
 PHP Version:      4.3.4
 New Comment:

Works for me.



Which libxml2 version are you using (phpinfo() should 

tell you that)?



chregu


Previous Comments:
------------------------------------------------------------------------

[2004-03-03 06:02:56] pet at iv dot ua

Description:
------------
Its undocumented arguments of function domxml_open_mem

but on previous version php all work.



Note: no return "well-formed" errors. 

If document not valid errors returned

Reproduce code:
---------------
//not well-formed document

$xml = '<text><tt></test>';



$dom = domxml_open_mem($xml, DOMXML_LOAD_VALIDATING, $Errors);



if(!Empty($Errors)){

        echo "Error found"

}else{

        echo "Document valid"

}

Expected result:
----------------
Error found

Actual result:
--------------
Document valid


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27479&edit=1

Reply via email to