BUG #7844: xpath missing entity decoding - bug or feature

From: info(at)fduerr(dot)de
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7844: xpath missing entity decoding - bug or feature
Date: 2013-02-01 12:02:41
Message-ID: E1U1FKL-0002rD-RO@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 7844
Logged by: fduerr
Email address: info(at)fduerr(dot)de
PostgreSQL version: 9.2.2
Operating system: Debian
Description:

Up until 9.1

select (xpath('/z/text()', ('<z>' || 'AT&amp;T' || '</z>')::xml))[1];

returned 'AT&T'
9.2 returns 'AT&amp;T'

Is it a bug or a feature?
Is there a function to decode xml-entities?
Thanks for your great work, kind regards

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Page 2013-02-01 14:53:55 Re: BUG #7843: Incorrect using icacls
Previous Message Maciej Łopuszański 2013-02-01 11:27:17 Re: BUG #7842: pg_dump scripts view to table