Re: [PATCHES] xml2 contrib patch supporting default XML namespaces

From: "Mike Rylander" <mrylander(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, nikolay(at)samokhvalov(dot)com, pgsql-patches(at)postgresql(dot)org, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] xml2 contrib patch supporting default XML namespaces
Date: 2007-03-22 21:34:06
Message-ID: b918cf3d0703221434w349e5ab8t650737c478b1edd1@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 3/22/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Peter Eisentraut wrote:
> >> I was hoping that we're deprecating contrib/xml2, so I wouldn't add more
> >> features to it.
>
> > Author states:
>
> >> I understand that XML support is planned and at least partially
> >> implemented for 8.3, but many production instances will be unable (or,
> >> in fact, unwilling) to upgrade to 8.3 for quite some time. Because
> >> this patch is completely backward compatible it can (theoretically) be
> >> included in future 8.1 and 8.2 releases, and for those of us that need
> >> more full XML support in the short term the upgrade of a contrib
> >> module is probably a very viable option -- it is for me, anyway.
>
> Well, it's not going to be put in future 8.1 or 8.2 releases, so the
> above argument is not a reason to include it now. What the author
> should do if he wants to offer a new feature for past release branches
> is to put up a project on pgfoundry.
>
> regards, tom lane
>

Hmm.. OK. Well, thank you all for clarifying that. I thought
(perhaps only hoped?) that the bar was lower for contrib than for core
as far as features go, but it seems that assumption is incorrect.
I'll look at starting a pgfoundry project soon.

A related question, however: Will the XML features being included in
8.3 support namespace prefix registration? If not, handling arbitrary
XML via XPath that includes unprefixed (default) namespaces (for me
that is the majority of the XML I deal with, and no, I can't change
that) will have exactly the same problems using the new mechanisms as
with the current xml2 contrib module. I ask because, based on the
design emails I've seen on -hackers, nothing surrounding explicit
support for said issue jumped out at me.

Thanks again.

--
Mike Rylander
mrylander(at)gmail(dot)com
GPLS -- PINES Development
Database Developer
http://open-ils.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-03-22 21:47:30 Re: [PATCHES] xml2 contrib patch supporting default XML namespaces
Previous Message Simon Riggs 2007-03-22 21:28:51 Re: CREATE INDEX and HOT - revised design

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 21:40:43 Re: Synchronized Scan WIP patchf
Previous Message Jeff Davis 2007-03-22 21:33:33 Re: Synchronized Scan WIP patch