Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 8BB2118E38D9 for ; Thu, 12 Jan 2012 11:58:53 -0400 (AST) Received: from mx01.bfk.de ([193.227.124.2]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RlN3A-0004wJ-18 for pgsql-bugs@postgresql.org; Thu, 12 Jan 2012 15:58:53 +0000 Received: from mx00.int.bfk.de ([10.119.110.2]) by mx01.bfk.de with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) id 1RlN2t-0006VJ-8C; Thu, 12 Jan 2012 15:58:31 +0000 Received: by bfk.de with local id 1RlN2t-0002s5-4y; Thu, 12 Jan 2012 15:58:31 +0000 From: Florian Weimer To: franco.ricci@phys.uniroma1.it Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6395: Invalid XPath expression References: Date: Thu, 12 Jan 2012 15:58:31 +0000 In-Reply-To: (franco ricci's message of "Thu, 12 Jan 2012 15:40:13 +0000") Message-ID: <82aa5sud3s.fsf@mid.bfk.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201201/103 X-Sequence-Number: 32170 * franco ricci: > The same query on PostgreSQL 9.x works fine! I think you mean 9.0. > xpath('/llrp:RO_ACCESS_REPORT/llrp:TagReportData/llrp:*[contains(name(),\= "EPC\")]/llrp:EPC/text()', Does it work if you drop the '\'? PostgreSQL 9.1 defaults to standard_conforming_strings=3Don. See the release notes for details. --=20 Florian Weimer BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstra=DFe 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99