ID:               45996
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at colin dot guthr dot ie
 Status:           Open
 Bug Type:         XML related
 Operating System: Mandriva Linux
 PHP Version:      5.2.6
-Assigned To:      
+Assigned To:      rrichards
 New Comment:

assign to self


Previous Comments:
------------------------------------------------------------------------

[2008-09-04 17:29:21] phpbugs at colin dot guthr dot ie

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 this bug report at http://bugs.php.net/?id=45996&edit=1

Reply via email to