ID: 26530 Updated by: [EMAIL PROTECTED] Reported By: jury at hightech dot lv -Status: Feedback +Status: No Feedback Bug Type: DOM XML related Operating System: Linux PHP Version: 4.3.4 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-12-05 05:41:21] [EMAIL PROTECTED] Then please upgrade libxml and recompile PHP against this new version. ------------------------------------------------------------------------ [2003-12-05 05:37:06] jury at hightech dot lv My version: LibXML 2.4.28 ------------------------------------------------------------------------ [2003-12-05 05:34:05] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip I get exactly what your expected result is using the latest CVS snapshot. So please try it out. (I have libxml 2.5.11, check your version too) ------------------------------------------------------------------------ [2003-12-05 05:09:48] jury at hightech dot lv Description: ------------ When PHP CGI extension call function domxml_new_doc("1.0") it show an error without returning an object. Reproduce code: --------------- #!/usr/local/bin/php_new -q <? $doc = domxml_new_xmldoc("1.0"); echo "Dom Object: $doc\n"; ?> Expected result: ---------------- "Dom Object: Object" Actual result: -------------- PHP Warning: domxml_new_xmldoc(): Unsupported node type: 0 in /tmp/temp/test.php on line 3 <br /> <b>Warning</b>: domxml_new_xmldoc(): Unsupported node type: 0 in <b>/tmp/temp/test.php</b> on line <b>3</b><br /> PHP Warning: domxml_new_xmldoc(): Cannot create required DOM object in /tmp/temp/test.php on line 3 <br /> <b>Warning</b>: domxml_new_xmldoc(): Cannot create required DOM object in <b>/tmp/temp/test.php</b> on line <b>3</b><br /> Dom Object: ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26530&edit=1
