|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-20 23:15 UTC] helly@php.net
[2005-02-20 23:24 UTC] clynx at succont dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 10:00:01 2025 UTC |
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>