From: Bruce Momjian <bruce@momjian.us>
To: info@fduerr.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7844: xpath missing entity decoding - bug or feature
Date: Tue, 10 Sep 2013 19:04:14 -0400
Message-ID: <20130910230414.GG16378@momjian.us> (raw)
In-Reply-To: <E1U1FKL-0002rD-RO@wrigleys.postgresql.org>
References: <E1U1FKL-0002rD-RO@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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()', ('<z>' || 'AT&T' || '</z>')::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 <bruce@momjian.us> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, info@fduerr.de
Subject: Re: BUG #7844: xpath missing entity decoding - bug or feature
In-Reply-To: <20130910230414.GG16378@momjian.us>
References: <E1U1FKL-0002rD-RO@wrigleys.postgresql.org> <20130910230414.GG16378@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox