Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 47A8418E38D9 for ; Thu, 12 Jan 2012 12:28:24 -0400 (AST) Received: from mail-we0-f174.google.com ([74.125.82.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RlNVn-0005W7-SQ for pgsql-bugs@postgresql.org; Thu, 12 Jan 2012 16:28:24 +0000 Received: by werm1 with SMTP id m1so1480168wer.19 for ; Thu, 12 Jan 2012 08:28:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=4yiP1ZIQJyvDKz6/yndp/FHpvbBAPZaMNf4X6CLgsvc=; b=xvywQkiyxp0YUGXeD1dv2p8nFbtPadPbVuTtL7fyZmCBjGIVyPjrhhYviQlVx2Hl04 s9QbNtkMs/13EQrg3UWpwMhYxRLBdm5CzBslKSopaUiU3lxcKr7TzjGG2darh3uUW7FU WU/H6/DtzdLUuheAWb04vLo1Kd/LSsmKQoT0w= Received: by 10.216.136.155 with SMTP id w27mr2291399wei.8.1326385690807; Thu, 12 Jan 2012 08:28:10 -0800 (PST) Received: from Francos-MacBook-Air.local (labit.phys.uniroma1.it. [141.108.1.189]) by mx.google.com with ESMTPS id em13sm807013wid.7.2012.01.12.08.28.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jan 2012 08:28:10 -0800 (PST) Message-ID: <4F0F0A19.5050404@phys.uniroma1.it> Date: Thu, 12 Jan 2012 17:28:09 +0100 From: Franco Ricci User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Florian Weimer CC: pgsql-bugs@postgresql.org Subject: Re: BUG #6395: Invalid XPath expression References: <82aa5sud3s.fsf@mid.bfk.de> In-Reply-To: <82aa5sud3s.fsf@mid.bfk.de> Content-Type: multipart/mixed; boundary="------------020305020409090005050303" X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201201/105 X-Sequence-Number: 32172 This is a multi-part message in MIME format. --------------020305020409090005050303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 12-1-2012 4:58 PM, Florian Weimer wrote: > * franco ricci: > >> The same query on PostgreSQL 9.x works fine! > I think you mean 9.0. Yes, I mean 9.0.5 > >> xpath('/llrp:RO_ACCESS_REPORT/llrp:TagReportData/llrp:*[contains(name(),\"EPC\")]/llrp:EPC/text()', > Does it work if you drop the '\'? Thanks a lot. Without '\' it works!! > > PostgreSQL 9.1 defaults to standard_conforming_strings=on. See the > release notes for details. > Regards Franco Ricci -- Franco Ricci LabIT Sviluppo Servizi Informatici Dipartimento di Fisica Università di Roma "La Sapienza" Piazzale Aldo Moro, 5 00185 Roma Italy tel +390649913449 fax +39064463158 --------------020305020409090005050303 Content-Type: text/x-vcard; charset=utf-8; name="franco_ricci.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="franco_ricci.vcf" begin:vcard fn:Franco Ricci n:Ricci;Franco org;quoted-printable:Dipartimento di Fisica, Universit=C3=A0 di Roma "La Sapienza" adr:;;Piazzale Aldo Moro, 2;Roma;;00185;Italy email;internet:franco.ricci@phys.uniroma1.it, franco.ricci@uniroma1.it title:LabIT tel;work:+390649913449 tel;fax:+39064463158 url:www.phys.uniroma1.it version:2.1 end:vcard --------------020305020409090005050303--