#32039 [Opn->Bgs]: Quotes are Replaced
| From: | helly@php.net | Date: | Sun, 20 Feb 2005 22:15:27 +0000 |
| Subject: | #32039 [Opn->Bgs]: Quotes are Replaced | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74326@lists.php.net to get a copy of this message | ||
ID: 32039
Updated by: helly@php.net
Reported By: clynx at succont dot de
-Status: Open
+Status: Bogus
Bug Type: DOM XML related
-Operating System: FreeBSD 4.11
+Operating System: *
-PHP Version: 5CVS-2005-02-20 (dev)
+PHP Version: *
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Both are XML wise absolutley identical (not only equal)
Previous Comments:
------------------------------------------------------------------------
[2005-02-20 22:58:55] clynx at succont dot de
Description:
------------
When opening a XML File with Doublequotes ("), the Quotes are Replaced
with ".
Opening and Dumping XML Files should not modify Contents.
This seems to be a BSD (maybe Linux) Bug only.
Windows Snapshot "php5.0-win32-200502181730" seems not to have this
Bug.
Reproduce code:
---------------
<?php
$xmlData = <<<XMLCODE
<?xml version="1.0" ?>
<test>"</test>
XMLCODE;
$dom = new DomDocument;
$dom->loadXML( $xmlData );
echo $dom->saveXML();
?>
Expected result:
----------------
<?xml version="1.0"?>
<test>"</test>
Actual result:
--------------
<?xml version="1.0"?>
<test>"</test>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32039&edit=1