Bug #53677 [NEW]: xml_parse_into_struct does not unescape character data
| From: | lwc at mailmetrash dot com | Date: | Thu, 06 Jan 2011 20:40:58 +0000 |
| Subject: | Bug #53677 [NEW]: xml_parse_into_struct does not unescape character data | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-157705@lists.php.net to get a copy of this message | ||
From:
Operating system: Redhat Linux
PHP version: 5.2.14
Package: XML related
Bug Type: Bug
Bug description:xml_parse_into_struct does not unescape character data
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 bug report at http://bugs.php.net/bug.php?id=53677&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53677&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53677&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53677&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=53677&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53677&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=53677&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=53677&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=53677&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=53677&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=53677&r=support
Expected behavior: http://bugs.php.net/fix.php?id=53677&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=53677&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=53677&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=53677&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53677&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=53677&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=53677&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=53677&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=53677&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=53677&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=53677&r=mysqlcfg