#32039 [Bgs]: Quotes are Replaced
| From: | clynx at succont dot de | Date: | Sun, 20 Feb 2005 22:24:25 +0000 |
| Subject: | #32039 [Bgs]: Quotes are Replaced | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74327@lists.php.net to get a copy of this message | ||
ID: 32039
User updated by: clynx at succont dot de
Reported By: clynx at succont dot de
Status: Bogus
Bug Type: DOM XML related
Operating System: *
PHP Version: *
New Comment:
Sorry, but why is the Result on Windows not the same as on FreeBSD?
Souldn't the Result be the same?
Previous Comments:
------------------------------------------------------------------------
[2005-02-20 23:15:26] helly@php.net
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)
------------------------------------------------------------------------
[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