#45996 [NEW]: libxml2 2.7.1 causes breakage with character data in xml_parse()
From: phpbugs at colin dot guthr dot ie Date: Thu, 04 Sep 2008 17:29:22 +0000 Subject: #45996 [NEW]: libxml2 2.7.1 causes breakage with character data in xml_parse() Groups: php.bugs Request: Send a blank email to php-bugs+get-128685@lists.php.net to get a copy of this message
From: phpbugs at colin dot guthr dot ie Operating system: Mandriva Linux PHP version: 5.2.6 PHP Bug Type: *XML functions Bug description: libxml2 2.7.1 causes breakage with character data in xml_parse() Description: ------------ With libxml2 2.7.1, When using the expat type xml parsing routines in PHP, the characater data seems to silently drop any encoded text e.g. > < and friends. Please see Mandriva bug for details: https://qa.mandriva.com/show_bug.cgi?id=43486 And also please note the thread on the libxml mailing list: http://thread.gmane.org/gmane.comp.gnome.lib.xml.general/14610 And most notably the reply to the above thread: <quote> Can you report this as a PHP bug? It looks like some really old hack code in the PHP extension in order to mimic some specific expat functionality. The behavior change you see though resulting from a code changes in libxml2 is really due to the hackish code in the extension doing things it wasnt meant to be doing. </quote> Reproduce code: --------------- Please see this code: https://qa.mandriva.com/attachment.cgi?id=10757 Expected result: ---------------- < foo > wibble < /foo > Actual result: -------------- foo wibble /foo -- Edit bug report at http://bugs.php.net/?id=45996&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45996&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45996&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45996&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45996&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45996&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45996&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45996&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45996&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45996&r=support Expected behavior: http://bugs.php.net/fix.php?id=45996&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45996&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45996&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45996&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45996&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45996&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45996&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45996&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45996&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45996&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45996&r=mysqlcfg
Thread (54 messages)
- #45996 [Opn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Opn->Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- #45996 [Asn->Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Csd]: libxml2 2.7.1 causes breakage with character data in xml_parse()
- Bug #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
| « previous | php.bugs (#128685) | next » |
|---|