pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
XQuery/XPath 2.0+ support
4+ messages / 3 participants
[nested] [flat]

* XQuery/XPath 2.0+ support
@ 2021-11-29 16:56  Garfield Lewis <garfield.lewis@lzlabs.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Garfield Lewis @ 2021-11-29 16:56 UTC (permalink / raw)
  To: pgsql-general

Hi All,

I am investigating whether there are any plans to have XPath 2.0 support for Postgres XML natively or are there any available extension packages that includes this support?

--
Regards,
Garfield A. Lewis


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: XQuery/XPath 2.0+ support
@ 2021-11-29 17:08  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Garfield Lewis <garfield.lewis@lzlabs.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2021-11-29 17:08 UTC (permalink / raw)
  To: Garfield Lewis <garfield.lewis@lzlabs.com>; +Cc: pgsql-general

Garfield Lewis <garfield.lewis@lzlabs.com> writes:
> I am investigating whether there are any plans to have XPath 2.0 support for Postgres XML natively or are there any available extension packages that includes this support?

I don't know of anyone actively working on that.  The difficulty is
that we don't especially want to write/maintain such logic ourselves,
but there don't seem to be any suitable libraries available that
(a) can be called from C and (b) have a compatible license.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [EXT] Re: XQuery/XPath 2.0+ support
@ 2021-12-01 05:28  Garfield Lewis <garfield.lewis@lzlabs.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Garfield Lewis @ 2021-12-01 05:28 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-general

Thx, Tom...

But isn't the libxml2 library not sufficient for this purpose? Note that I have not tried it yet, I am still just investigating possible solutions.

-- 
Regards,
Garfield A. Lewis

On 2021-11-29, 12:08 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:

    Garfield Lewis <garfield.lewis@lzlabs.com> writes:
    > I am investigating whether there are any plans to have XPath 2.0 support for Postgres XML natively or are there any available extension packages that includes this support?

    I don't know of anyone actively working on that.  The difficulty is
    that we don't especially want to write/maintain such logic ourselves,
    but there don't seem to be any suitable libraries available that
    (a) can be called from C and (b) have a compatible license.

    			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [EXT] Re: XQuery/XPath 2.0+ support
@ 2021-12-01 05:44  Pavel Stehule <pavel.stehule@gmail.com>
  parent: Garfield Lewis <garfield.lewis@lzlabs.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Pavel Stehule @ 2021-12-01 05:44 UTC (permalink / raw)
  To: Garfield Lewis <garfield.lewis@lzlabs.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-general

Hi

st 1. 12. 2021 v 6:28 odesílatel Garfield Lewis <garfield.lewis@lzlabs.com>
napsal:

> Thx, Tom...
>
> But isn't the libxml2 library not sufficient for this purpose? Note that I
> have not tried it yet, I am still just investigating possible solutions.
>

Unfortunately, no, or it is not about Postgres. The development of libxml2
is frozen :-/ and there are only bugfix releases. What I know, there are
only some experimental enhancements, but nobody has finalized it.

https://stackoverflow.com/questions/6586896/does-libxml2-support-xpath-2-0-or-not

XPath 2.0 is much more complex than XPath - it is a new language.

Please, don't send top post mails to this mailing list

https://en.wikipedia.org/wiki/Posting_style#Top-posting

Regards

Pavel



> --
> Regards,
> Garfield A. Lewis
>
> On 2021-11-29, 12:08 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>
>     Garfield Lewis <garfield.lewis@lzlabs.com> writes:
>     > I am investigating whether there are any plans to have XPath 2.0
> support for Postgres XML natively or are there any available extension
> packages that includes this support?
>
>     I don't know of anyone actively working on that.  The difficulty is
>     that we don't especially want to write/maintain such logic ourselves,
>     but there don't seem to be any suitable libraries available that
>     (a) can be called from C and (b) have a compatible license.
>
>                         regards, tom lane
>
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2021-12-01 05:44 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 16:56 XQuery/XPath 2.0+ support Garfield Lewis <garfield.lewis@lzlabs.com>
2021-11-29 17:08 ` Tom Lane <tgl@sss.pgh.pa.us>
2021-12-01 05:28   ` Garfield Lewis <garfield.lewis@lzlabs.com>
2021-12-01 05:44     ` Pavel Stehule <pavel.stehule@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox