ID:               32039
 Updated by:       [EMAIL PROTECTED]
 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>&quot;</test>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32039&edit=1

Reply via email to