ID: 32808 User updated by: sofa77 at gmx dot de Reported By: sofa77 at gmx dot de Status: Bogus Bug Type: Documentation problem Operating System: win xp PHP Version: Irrelevant New Comment:
hey, the error message is from my original script, but i also created this very simple example script i posted here. i just copied the error from the wrong script. additionally i traced get_class_methods($myDomObject), which also didn't had this function. sorry, i can't give you the functions list, because i removed php 5.0.4 from my machine. best, andi Previous Comments: ------------------------------------------------------------------------ [2005-04-25 10:24:02] [EMAIL PROTECTED] DOMDocument::loadXML should still exists in 5.0.4, so this is not a documentation issue. I can't reproduce your error and the function really still exists, so this is not even the source code problem. Try to consult support forums. Although you provided simple example, actual result is not from it ("error on line 136") so the problem probably lies somewhere else. ------------------------------------------------------------------------ [2005-04-24 12:19:01] sofa77 at gmx dot de Description: ------------ for any reason (that i don't know) this function does not exist in php 5.0.4, tested on windows xp. <?php $dom = new DOMDocument(null); $dom->loadXML('<root>hhh</root>'); ?> will cause an error: Fatal error: Call to undefined method domdocument::loadXML() ... Reproduce code: --------------- <?php $dom = new DOMDocument(null); $dom->loadXML('<root>hhh</root>'); ?> Expected result: ---------------- nothing Actual result: -------------- Fatal error: Call to undefined method domdocument::loadXML() in d:\eigene\_project\eva\www\php\Domain\FormValidator\Ims.class.php on line 136 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32808&edit=1