ID: 44917 Comment by: quamis at gmail dot com Reported By: me at mkavel dot de Status: No Feedback Bug Type: SimpleXML related Operating System: Gentoo PHP Version: 5.2.6 New Comment:
duplicate of http://bugs.php.net/bug.php?id=44478 PS: you(PHP bug section devs) have some serios problems with the captha... missed it twice because of the small image. Previous Comments: ------------------------------------------------------------------------ [2008-09-03 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2008-08-26 23:01:11] j...@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2008-05-05 14:29:59] me at mkavel dot de Description: ------------ Some special German (latin1) caracters could not be set correctly. The code produces different output between addCild and directly set of the value in an existing child. Reproduce code: --------------- // 1 $xml->obermenue[0]->addChild("titel","<![CDATA[Übertrumpfen]]>"); // 2 $xml->obermenue[0]->titel="<![CDATA[Übertrumpfen]]>"; Expected result: ---------------- 1: Output: <titel><![CDATA[Übertrumpfen]]></titel> 2: Output: <titel><![CDATA[Übertrumpfen]]></titel> Actual result: -------------- 1: Output: <titel><![CDATA[Übertrumpfen]]></titel> Please look at the "<" and "&" in the first Output. It changed to "<" and the "&" not change. 2: Output: <titel><![CDATA[&Uuml;bertrumpfen]]></titel> This one the "<" changed to "<" too but the "&" chnaged to "&" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44917&edit=1