note 67492 added to function.domxml-new-doc
| From: | e0101477 at uha dot fr | Date: | Thu, 08 Jun 2006 09:32:48 +0000 |
| Subject: | note 67492 added to function.domxml-new-doc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-113795@lists.php.net to get a copy of this message | ||
Hi,
I have a big problem with domxml extension, I wrote a softusing domxml (version : 20507), and I
don't have problems.
But if i change de version of domxml (20622), some problem appears.
I don't know why, but when I use domxml_open_file or domxml_open_mem the document i receive is
not the same of the content of the xml file. I explain the document I receive remove all cdata nodes
and replace the value of this nodes.
Example :
The content of the after open with domxml :
<?xml version="1.0"?>
<title>
<![CDATA[
<p>Hi <strong>how are you</strong> ?</p>
]]
</title>
And before this :
$this->dom = domxml_open_file($this->file);
$this->dom->dump_file($this->file, false, true);
The content is :
<?xml version="1.0"?>
<title><p> Hi <strong> how are you</strong>
?</p>
</title>
It's very strange, that the fact to open the file add nodes and save the file, modify the
content.
Please help me, it's very important
----
Server IP: 194.246.101.61
Probable Submitter: 195.101.248.26
----
X-Spam-Status: No, hits=3.3 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_MESSAGE autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.domxml-new-doc.php
Edit -- http://master.php.net/note/edit/67492
Del: integrated -- http://master.php.net/note/delete/67492/integrated
Del: useless -- http://master.php.net/note/delete/67492/useless
Del: bad code -- http://master.php.net/note/delete/67492/bad+code
Del: spam -- http://master.php.net/note/delete/67492/spam
Del: non-english -- http://master.php.net/note/delete/67492/non-english
Del: in docs -- http://master.php.net/note/delete/67492/in+docs
Del: other reasons-- http://master.php.net/note/delete/67492
Reject -- http://master.php.net/note/reject/67492
Search -- http://master.php.net/manage/user-notes.php