From: v.tambovtsev@live.ru
To: pgsql-bugs@postgresql.org
Subject: BUG #7971: Xml special symbols are not unescaped when gettting value of Xml via xpath
Date: Tue, 19 Mar 2013 15:30:46 +0000
Message-ID: <E1UHyUw-0001oj-HE@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 7971
Logged by: Vilen
Email address: v.tambovtsev@live.ru
PostgreSQL version: 9.2.3
Operating system: Windows
Description:
I've found this bug has already been discussed with no result
http://postgresql.1045698.n5.nabble.com/XMLATTRIBUTES-vs-values-of-type-XML-tt4636331.html#none
SELECT unnest(xpath('/name/text()', xmlelement(name name, 'AT&T', null )))
This gives me 'AT&T' and
I have NO WAY inside pgsql to get 'At&t' value
--
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: v.tambovtsev@live.ru
Subject: Re: BUG #7971: Xml special symbols are not unescaped when gettting value of Xml via xpath
In-Reply-To: <E1UHyUw-0001oj-HE@wrigleys.postgresql.org>
References: <E1UHyUw-0001oj-HE@wrigleys.postgresql.org>
* 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