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. +