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&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?
Thanks for your great work, kind regards