#32711 [Opn->Bgs]: CDATA elements are not preserved
| From: | sniper@php.net | Date: | Fri, 15 Apr 2005 23:43:56 +0000 |
| Subject: | #32711 [Opn->Bgs]: CDATA elements are not preserved | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-77624@lists.php.net to get a copy of this message | ||
ID: 32711
Updated by: sniper@php.net
Reported By: phpspam at talkingspider dot com
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
Operating System: Fedora C2
PHP Version: 4.3.9
New Comment:
Try adding sample script which fails first..
Previous Comments:
------------------------------------------------------------------------
[2005-04-16 01:10:56] phpspam at talkingspider dot com
That is not a realistic response. You already have the latest php 4.x
version installed somewhere, why should I have to install it on my
side? You could do in 5 minutes what would take me 50. You also have
access to all of the bugs that were ever fixed, search for this and if
it's not there then it was never fixed.
------------------------------------------------------------------------
[2005-04-15 14:01:17] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2005-04-15 04:34:01] phpspam at talkingspider dot com
Description:
------------
Read in an xml file that has CDDATA elements using domxml_open_file and
then write it out using DomDocument->dump_file. The CDATA elements get
turned into text elements.
Reproduce code:
---------------
//Read in an xml file that has CDDATA elements using //domxml_open_file
and then write it out using //DomDocument->dump_file. The CDATA
elements get turned into text elements.
Expected result:
----------------
There's no justifiable reason why it should convert CDATA elements to
text elements.
Actual result:
--------------
The CDATA elements get turned into text elements.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32711&edit=1