Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62114 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21739 invoked from network); 10 Aug 2012 12:50:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2012 12:50:24 -0000 Authentication-Results: pb1.pair.com header.from=rrichards@cdatazone.org; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=rrichards@cdatazone.org; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain cdatazone.org does not designate 207.58.142.213 as permitted sender) X-PHP-List-Original-Sender: rrichards@cdatazone.org X-Host-Fingerprint: 207.58.142.213 smtp2go.com Linux 2.6 Received: from [207.58.142.213] ([207.58.142.213:51789] helo=smtp2go.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/2B-00812-F8305205 for ; Fri, 10 Aug 2012 08:50:24 -0400 Message-ID: <5025038C.1000903@cdatazone.org> Date: Fri, 10 Aug 2012 08:50:20 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Pierre Joye CC: Stas Malyshev , PHP Internals References: <5016340D.7020800@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] xml ext and & entities From: rrichards@cdatazone.org (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 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 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 >> > >