note 67492 rejected from function.domxml-new-doc by nlopess

From: Date: Thu, 08 Jun 2006 09:35:01 +0000
Subject: note 67492 rejected from function.domxml-new-doc by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-113797@lists.php.net to get a copy of this message
Note Submitter: e0101477 at uha dot fr ---- 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>&lt;p&gt; Hi &lt;strong&gt; how are you&lt;/strong&gt; ?&lt;/p&gt; </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

« previous php.notes (#113797) next »