From: | "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com> |
---|---|
To: | PGSQL-Patches <pgsql-patches(at)postgresql(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [PATCHES] xpath_array with namespaces support |
Date: | 2007-03-18 13:37:46 |
Message-ID: | e431ff4c0703180637q41c3af46se8640c7c022e48ee@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On 3/5/07, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> wrote:
> On 3/4/07, Nikolay Samokhvalov <nikolay(at)samokhvalov(dot)com> wrote:
> > I'll fix these issues and extend the patch with resgression tests and
> > docs for xpath_array(). I'll resubmit it very soon.
>
> Here is a new version of the patch. I didn't change any part of docs yet.
> Since there were no objections I've changed the name of the function
> to xmlpath().
Updated version of the patch contains bugfix: there were a problem
with path queries that pointed to elements (cases when a set of
document parts that correspond to subtrees should be returned).
Example is (included in regression test):
xmltest=# SELECT xmlpath('//b', '<a>one <b>two</b> three <b>etc</b></a>');
xmlpath
-------------------------
{<b>two</b>,<b>etc</b>}
(1 row)
Waiting for more feedback, please check it.
--
Best regards,
Nikolay
Attachment | Content-Type | Size |
---|---|---|
xpath.w.namespaces.20070318.patch | text/x-patch | 14.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2007-03-18 15:52:08 | Re: Bug in UTF8-Validation Code? |
Previous Message | Andrew Dunstan | 2007-03-18 12:25:56 | Re: Bug in UTF8-Validation Code? |
From | Date | Subject | |
---|---|---|---|
Next Message | Mike Rylander | 2007-03-18 16:03:15 | Re: [PATCHES] xml2 contrib patch supporting default XML namespaces |
Previous Message | Neil Conway | 2007-03-18 05:49:30 | Re: patch adding new regexp functions |