Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJWyq-0006NM-EB for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Sep 2013 23:04:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJWyp-0006r7-R6 for pgsql-bugs@arkaria.postgresql.org; Tue, 10 Sep 2013 23:04:19 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJWyp-0006r1-5d for pgsql-bugs@postgresql.org; Tue, 10 Sep 2013 23:04:19 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJWym-0005Sh-6u for pgsql-bugs@postgresql.org; Tue, 10 Sep 2013 23:04:18 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1VJWyl-0003oj-03; Tue, 10 Sep 2013 19:04:15 -0400 Date: Tue, 10 Sep 2013 19:04:14 -0400 From: Bruce Momjian To: info@fduerr.de Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7844: xpath missing entity decoding - bug or feature Message-ID: <20130910230414.GG16378@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, Feb 1, 2013 at 12:02:41PM +0000, info@fduerr.de wrote: > The following bug has been logged on the website: > > Bug reference: 7844 > Logged by: fduerr > Email address: info@fduerr.de > PostgreSQL version: 9.2.2 > Operating system: Debian > Description: > > Up until 9.1 > > select (xpath('/z/text()', ('' || 'AT&T' || '')::xml))[1]; > > returned 'AT&T' > 9.2 returns 'AT&T' > > Is it a bug or a feature? > Is there a function to decode xml-entities? Does anyone have a comment on this? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs