Re: xml ext and & entities

From: Date: Wed, 01 Aug 2012 05:46:02 +0000
Subject: Re: xml ext and & entities
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-61902@lists.php.net to get a copy of this message
hi! On Mon, Jul 30, 2012 at 9:13 AM, Stas Malyshev <smalyshev@sugarcrm.com> wrote: > Hi! > > I was running PHP tests on my freshly installed CentOS instance and I > noticed that two XML tests were failing: ext/xml/tests/bug35447.phpt and > ext/xml/tests/xml011.phpt. Looks like for some reason XML parser when > parsing something like this: This &amp; that - produces empty string > instead of "&" when parsing &amp;. > Any idea why it could be happening? libxml2 is of version 2.7.8 and in > general it's standard CentOS 6.3, 64-bit. Does not reproduce on Mac > with same PHP and same libxml2 version. Can you try using a stock version of libxml or using the latest version? I met some issues in the past on Centos because of bad patches applied to libxml. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#61902) next »