#26530 [Fbk->NoF]: domxml_new_doc didn't create new document class
| From: | sniper@php.net | Date: | Wed, 10 Dec 2003 15:48:55 +0000 |
| Subject: | #26530 [Fbk->NoF]: domxml_new_doc didn't create new document class | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-51933@lists.php.net to get a copy of this message | ||
ID: 26530
Updated by: sniper@php.net
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] derick@php.net
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] sniper@php.net
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