Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ho7J1-0006Im-Pn for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2019 14:22:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ho7J0-0002e2-DQ for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2019 14:22:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ho7J0-0002dt-2R for pgsql-bugs@lists.postgresql.org; Thu, 18 Jul 2019 14:22:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1ho7Ix-0001HD-PI for pgsql-bugs@lists.postgresql.org; Thu, 18 Jul 2019 14:22:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x6IEMeNL005497; Thu, 18 Jul 2019 10:22:40 -0400 From: Tom Lane To: Pavel Stehule cc: Daniel Gustafsson , Rick Vincent , Herve Aubert , PostgreSQL mailing lists Subject: Re: BUG #15908: Xpath operations fail In-reply-to: References: <15908-1bc8d318fd8a5b9f@postgresql.org> <3A26D5D1-D3FF-48DE-A9F2-C3B7BCC1367E@yesql.se> <97FDD6F5-224D-429B-B486-ABE5A261C2FB@yesql.se> Comments: In-reply-to Pavel Stehule message dated "Thu, 18 Jul 2019 16:15:57 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <5495.1563459760.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Jul 2019 10:22:40 -0400 Message-ID: <5496.1563459760@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Pavel Stehule writes: > =C4=8Dt 18. 7. 2019 v 15:06 odes=C3=ADlatel Daniel Gustafsson > napsal: >> I haven=E2=80=99t heard of anyone working on that, and it seems unlikel= y to happen >> within the near future as few, if any, libraries support XPath 2.0 (or >> later). > Only XPath 1.0 is supported by libxml2. And this library is in permanent > feature freeze mode :-(. Unfortunately, there is not any other library w= ith > friendly licence available for C language. Not only that, but libxml2 is a rich source of security bugs. I wish we could get rid of that dependency altogether. Unfortunately, reimplementing our own xml and xpath functionality from scratch seems like a large project :-(. I don't think there's anybody with sufficient time and interest to do it. regards, tom lane