Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15287 invoked from network); 10 Aug 2012 11:03:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Aug 2012 11:03:36 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gh0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:46636] helo=mail-gh0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/0A-00812-68AE4205 for ; Fri, 10 Aug 2012 07:03:34 -0400 Received: by ghbg24 with SMTP id g24so1603642ghb.29 for ; Fri, 10 Aug 2012 04:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xwO72NjvvghPlxU1drQtAPFydyXOnsDK/Lx6yDIMuzg=; b=D97j0HemQIc9QPsqcNraspM/2LKp2Ql3tgemO8BO9h6GBB0pRrfj+jrp27GoYoJU+J AGkEXPF91qWZxCPdG9G5+f8GJnKaSWIATFQt80rv+t3RwYgJ8ztFNscCm2QNNHXv2Ju7 okXiNIw4ro+hPTKQ0mVS9qiAAaBZtl1zK/ova0pYTh+Qrb/9y8Krtrf85XBkcaMVNTDS qrW9GKt6Rh5N7YQZm7WHeB2xTy7lhFJhv7QR0uXcRK4wTOXl14UnTRoo+KK7xfNTjQQR PJ91kESghqzHaGLMRQyGqa59X6N9gVLP2aCR6IZxJB66BiNBjFTs5vveOg4nW5vnDn8l Gmrw== MIME-Version: 1.0 Received: by 10.50.40.136 with SMTP id x8mr1337793igk.33.1344596611403; Fri, 10 Aug 2012 04:03:31 -0700 (PDT) Received: by 10.64.137.101 with HTTP; Fri, 10 Aug 2012 04:03:31 -0700 (PDT) In-Reply-To: <5016340D.7020800@sugarcrm.com> References: <5016340D.7020800@sugarcrm.com> Date: Fri, 10 Aug 2012 13:03:31 +0200 Message-ID: To: Stas Malyshev Cc: PHP Internals , Rob Richards Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] xml ext and & entities From: pierre.php@gmail.com (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 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 > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org