Re: [PHP-DEV] xml ext and & entities

2012-08-10 Thread Rob Richards
The only time I saw this was when PHP was built against libxml 2.7.0-2.7.2 as there were some breaking changes in those versions with entities and SAX. I'll snag a copy of 6.3 and see if I can reproduce. Rob On 8/10/12 7:03 AM, Pierre Joye wrote: Hi Rob, Does that ring a bell? On Mon, Jul 3

Re: [PHP-DEV] xml ext and & entities

2012-08-10 Thread Pierre Joye
Hi Rob, Does that ring a bell? On Mon, Jul 30, 2012 at 9:13 AM, Stas Malyshev 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

Re: [PHP-DEV] xml ext and & entities

2012-08-02 Thread Stas Malyshev
Hi! > 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. I've built both 2.7.8 and 2.8.0 from source - same result. & is ignored when parsing with PHP xml extension. -- Stanislav Malysh

Re: [PHP-DEV] xml ext and & entities

2012-07-31 Thread Pierre Joye
hi! On Mon, Jul 30, 2012 at 9:13 AM, Stas Malyshev 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 so

[PHP-DEV] xml ext and & entities

2012-07-30 Thread Stas Malyshev
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 & that - produces empty string instead of "&" w