Edit report at http://bugs.php.net/bug.php?id=53677&edit=1
ID: 53677
User updated by: lwc at mailmetrash dot com
Reported by: lwc at mailmetrash dot com
Summary: xml_parse_into_struct does not unescape character
data
Status: Open
Type: Bug
Package: XML related
Operating System: Redhat Linux
PHP Version: 5.2.14
Block user comment: N
Private report: N
New Comment:
As for the "(as claimed in)" comment, you can delete it. They actually
claim you should use straight up HTML without escaping it. Problem is
the parser then treats the HTML tags like XML ones. If you have a
solution for that one, please post it there.
Previous Comments:
------------------------------------------------------------------------
[2011-01-06 21:40:58] lwc at mailmetrash dot com
Description:
------------
Assuming #26528 is also valid for the actual character data (as claimed
in http://forum.alicebot.org/viewtopic.php?t=69), then the parser should
decode <this><that></this> into:
[name] => this
[value] => <that>
The problem is in some cases it stays as:
[name] => this
[value] => <that>
In my 2 unrelated servers, the decoding works in v5.2.6 but fails in
v5.2.14.
Please check in newer versions, if you can!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53677&edit=1