From: | "Mike Rylander" <mrylander(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org |
Subject: | xml2 contrib patch supporting default XML namespaces |
Date: | 2007-03-05 22:18:51 |
Message-ID: | b918cf3d0703051418n49e36c62hff2a3c17b96e4cb4@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Attatched you'll find a patch that I've been kicking around for a
while that I'd like to propose for inclusion in 8.3. I attempted to
submit this through the original xml2 author (as far back as the 7.4
days) but got no response.
It's really fairly trivial, but I will be using the features it
provides in production soon, so I'd like to see it applied against the
contrib xml2 module. The patch adds support for default XML
namespaces in xml2 by providing a mechanism for supplying a prefix to
a named namespace URI. It then wraps the namespace-capable functions
in backward-compatible equivalents so that old code will not break.
I have patched README.xml2, pgxml.sql.in and xpath.c against CVS HEAD
as of about 1 hour ago. I have code that uses both the old
non-namespace-capable functions and the new functions, and all
function as intended in my environment.
Please let me know if there is any more I can/need-to do to help this
patch along!
--
Mike Rylander
mrylander(at)gmail(dot)com
GPLS -- PINES Development
Database Developer
http://open-ils.org
Attachment | Content-Type | Size |
---|---|---|
xml2-namespaces.patch | application/octet-stream | 25.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-03-05 22:19:58 | Re: Bug: Buffer cache is not scan resistant |
Previous Message | Mark Kirkwood | 2007-03-05 22:07:51 | Re: Bug: Buffer cache is not scan resistant |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-03-05 22:45:08 | Re: [COMMITTERS] pgsql: Add GUC temp_tablespaces to provide a default location for |
Previous Message | Gregory Stark | 2007-03-05 21:44:56 | Re: Heap page diagnostic/test functions (WIP) |