Edit report at http://bugs.php.net/bug.php?id=45996&edit=1

 ID:                 45996
 Comment by:         lwc at mailmetrash dot com
 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:

Again, I use libxml v2.7.7 (with PHP v5.2.14).


Previous Comments:
------------------------------------------------------------------------
[2011-01-04 20:04:33] rricha...@php.net

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.

------------------------------------------------------------------------
[2009-01-11 12:06:01] rricha...@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

This fix also requires the soon to be released libxml2-2.7.3 or higher 

when using 2.7.x.

------------------------------------------------------------------------


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

Reply via email to