Re: BUG #15908: Xpath operations fail

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Rick Vincent <rvincent(at)temenos(dot)com>, Herve Aubert <haubert(at)temenos(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15908: Xpath operations fail
Date: 2019-07-18 14:27:23
Message-ID: CAFj8pRBuawsX+zVVdiDXfT+iCSpobDXEEEcNSxdM6uweiDH3Og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

čt 18. 7. 2019 v 16:22 odesílatel Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> napsal:

> Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> > čt 18. 7. 2019 v 15:06 odesílatel Daniel Gustafsson <daniel(at)yesql(dot)se>
> > napsal:
> >> I haven’t heard of anyone working on that, and it seems unlikely 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
> with
> > 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.
>

Maybe some C++ or Java library with good licence can be ported to C for
usage in Postgres.

But it is lot of work.

Pavel

>
> regards, tom lane
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message dbman@sqlexec.com 2019-07-18 15:45:12 RE: BUG #15917: Runtime Partition Pruning does not seem to work in PG 11
Previous Message Tom Lane 2019-07-18 14:22:40 Re: BUG #15908: Xpath operations fail