Re: xml ext and & entities
| From: | Rob Richards | Date: | Fri, 10 Aug 2012 12:50:20 +0000 |
| Subject: | Re: xml ext and & entities | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62114@lists.php.net to get a copy of this message | ||
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 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 & that - produces empty string instead of "&" when parsing &. 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. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php