#45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse()
From: rolysatch at hotmail dot com Date: Sun, 07 Dec 2008 13:08:44 +0000 Subject: #45996 [Com]: libxml2 2.7.1 causes breakage with character data in xml_parse() References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-131714@lists.php.net to get a copy of this message
ID: 45996
Comment by: rolysatch at hotmail dot com
Reported By: phpbugs at colin dot guthr dot ie
Status: Assigned
Bug Type: XML related
Operating System: Mandriva Linux
PHP Version: 5.2.6
Assigned To: rrichards
New Comment:
i did apply a patch to php 5.2.6 and got this bug with libxml2 fixed,
but i just upgraded php to 5.2.7 cli (where i thought this big had been
fixed) and i've got the same problem back again with angled brackets
being stripped. anyone else upgraded and still got this issue?
Previous Comments:
------------------------------------------------------------------------
[2008-12-03 17:46:18] hoffie at gentoo dot org
What is the current status of a fix (in contrast to a work around)?
This issue breaks lots of web apps (Wordpress as we heard here, Typo3 as
we heard in our bug tracker at Gentoo) and considering that the last
release of 5.2.x is supposed to be released tomorrow, this sounds rather
urgent...
Downstream bug for Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=249703
(Gentoo users: Please report such bugs to us (as well), especially in
case of such library interaction issues)
------------------------------------------------------------------------
[2008-11-21 15:32:53] phpbugs at colin dot guthr dot ie
To build with expat just read my earlier posts on this bug where I've
shown how we did this in our recent Mandriva 2009 release.
------------------------------------------------------------------------
[2008-11-21 15:31:40] ajay12006 at gmail dot com
I already have libxml 2.7.2
Can anyone help me how to "build PHP with libxml2 <= 2.6.32 or
build ext/xml with expat."? Any link on how to so it?
Thanks.
------------------------------------------------------------------------
[2008-11-20 22:37:34] rcasagraude at interfaces dot fr
Confirm : build xml against libexpat workaround this bug
------------------------------------------------------------------------
[2008-11-05 16:30:35] rrichards@php.net
just use the example in the manual. Your change simply gets predefined
entities working but breaks all other cases. I'm currently looking at
getting the change in libxml2 that caused this reverted. The problem
stems from the magic needed to emulate expat behavior as its not native
in libxml so non-standard use of the libxml sax hooks was needed.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45996
--
Edit this bug report at http://bugs.php.net/?id=45996&edit=1
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 (#131714) | next » |
|---|