Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YIoeI-00063o-VZ for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Feb 2015 01:20:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YIoeI-0000DI-Cl for pgsql-bugs@arkaria.postgresql.org; Wed, 04 Feb 2015 01:20:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YIliX-0007xW-9V for pgsql-bugs@postgresql.org; Tue, 03 Feb 2015 22:13:09 +0000 Received: from dub004-omc2s33.hotmail.com ([157.55.1.172]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YIliT-00025h-8a for pgsql-bugs@postgresql.org; Tue, 03 Feb 2015 22:13:07 +0000 Received: from DUB125-W62 ([157.55.1.138]) by DUB004-OMC2S33.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 3 Feb 2015 14:13:03 -0800 X-TMN: [XRDad8FFRAq+rpBPNeFx9h0SOshX3czt] X-Originating-Email: [v.tambovtsev@outlook.com] Message-ID: From: =?iso-8859-5?B?stjb1d0gwtDc0d7S5tXS?= To: Tom Lane CC: "pgsql-bugs@postgresql.org" Subject: Re: BUG #8469: Xpath behaviour unintuitive / arguably wrong Date: Wed, 4 Feb 2015 01:13:03 +0300 Importance: Normal In-Reply-To: <32403.1423001374@sss.pgh.pa.us> References: , <32403.1423001374@sss.pgh.pa.us> Content-Type: text/plain; charset="iso-8859-5" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Feb 2015 22:13:03.0171 (UTC) FILETIME=[940A9930:01D03FFE] X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Actually, xpath()'s output is not original XML, at least there must be a f= unction like XML_UNESCAPE() for current behavior otherwise there is no way to get proper xml with xpath -- =B2=D8=DB=D5=DD =C2=D0=DC=D1=DE=D2=E6=D5=D2 ---------------------------------------- > From: tgl@sss.pgh.pa.us > To: v.tambovtsev@outlook.com > CC: pgsql-bugs@postgresql.org > Subject: Re: [BUGS] BUG #8469: Xpath behaviour unintuitive / arguably wro= ng > Date: Tue, 3 Feb 2015 17:09:34 -0500 > > =3D?iso-8859-5?B?stjb1d0gwtDc0d7S5tXS?=3D writ= es: >> Any news on this bug? 9.4 still behaves wrong and this actively stops us= from using Postgresql as a storage for our xml docs. > > AFAICS the conclusion in that thread was that the current behavior is > correct; in particular xpath()'s output is still XML and so it must not > de-escape anything. > > http://www.postgresql.org/message-id/72DA66D9-0222-4888-AF55-61D3337CAC7A= @phlo.org > > regards, tom lane > > > -- > Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-bugs =20=09=09=20=09=20=20=20=09=09=20=20 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs