ID:               32438
 Updated by:       [EMAIL PROTECTED]
 Reported By:      franp at free dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         SimpleXML related
 Operating System: FreeBSD 4.11
 PHP Version:      5.0.3
 New Comment:

You haven't build ext/dom in. Just add --with-dom to your configure
line..



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

[2005-03-24 01:21:49] franp at free dot fr

Description:
------------
While all simplexml functions are working fine, simplexml_import_dom
just fails as if a non-existing function.

Reproduce code:
---------------
$doc = new DomDocument;
$doc->preserveWhiteSpace = TRUE;
        
$doc->loadXML($result);
        
$s = simplexml_load_string($result); // pass
        
$test = dom_import_simplexml($s); // pass
        
$s = simplexml_import_dom($doc); // broken ! 


Expected result:
----------------
Was working with PHP 5.0.0.
Apparently broke when passing to PHP 5.0.3.

Actual result:
--------------
Error code :
Fatal error: Call to undefined function simplexml_import_dom()


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


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

Reply via email to