Re: [BUGS] BUG #7844: xpath missing entity decoding - bug or feature

2013-09-10 Thread Bruce Momjian
On Fri, Feb  1, 2013 at 12:02:41PM +, i...@fduerr.de wrote:
> The following bug has been logged on the website:
> 
> Bug reference:  7844
> Logged by:  fduerr
> Email address:  i...@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


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

2013-02-01 Thread info
The following bug has been logged on the website:

Bug reference:  7844
Logged by:  fduerr
Email address:  i...@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?
Thanks for your great work, kind regards



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs