Edit report at http://bugs.php.net/bug.php?id=45996&edit=1
ID: 45996
Comment by: lwc at mailmetrash dot cm
Reported by: phpbugs at colin dot guthr dot ie
Summary: libxml2 2.7.1 causes breakage with character data in
xml_parse()
Status: Closed
Type: Bug
Package: XML related
Operating System: Mandriva Linux
PHP Version: 5.2.6
Assigned To: rrichards
Block user comment: N
Private report: N
New Comment:
Regarding your e-mail message, please let's continue this discussion
publicly. It's established that this bug can happen with any (HTML)
input, so there's no point exposing my own. Check out
http://www.google.com/search?q=libxml+%2Bbrackets for tons of example
code.
But most importantly, is it possible that all this time no one ever
posted a bug about it in libxml's own tracker? If so, I think I'll post
something there soon.
Previous Comments:
------------------------------------------------------------------------
[2011-01-04 20:55:54] lwc at mailmetrash dot com
Again, I use libxml v2.7.7 (with PHP v5.2.14).
------------------------------------------------------------------------
[2011-01-04 20:04:33] [email protected]
To hopefully close this once and for all:
Compile PHP (5.2.9 or higher) against the newer libxml (2.7.3 or
higher).
PHP code change:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/ext/xml/compat.c?
r1=272374&r2=273286
Libxml code change:
http://svn.gnome.org/viewvc/libxml2/trunk/parser.c?r1=3803&r2=3807
------------------------------------------------------------------------
[2011-01-04 19:50:35] lwc at mailmetrash dot com
It still happens to me even in libxml v2.7.7.
Please take it seriously. At least mention in what scenarios does it
happen and does it have a link in libxml's own bug tracker.
------------------------------------------------------------------------
[2010-07-07 23:17:53] i_cypher at hotmail dot com
I am seeing this error in 2.7.3 as well, so the fix does not seem to be
working.
------------------------------------------------------------------------
[2010-04-19 00:05:30] nick dot phillips at otago dot ac dot nz
Just FYI - I have been seeing what would appear to be this issue with
libxml2 2.7.6 (with Moodle), so it seems that "2.7.3 or higher" doesn't
cut it. Reverting to 2.6.32 solved the problem for me.
------------------------------------------------------------------------
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/bug.php?id=45996
--
Edit this bug report at http://bugs.php.net/bug.php?id=45996&edit=1