Re: xpath_* namespace bug

From: "Nikolay Samokhvalov" <nikolay(at)samokhvalov(dot)com>
To: CG <cgg007(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: xpath_* namespace bug
Date: 2007-07-10 05:31:38
Message-ID: e431ff4c0707092231p130c4da1ued5509683231efde@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/10/07, CG <cgg007(at)yahoo(dot)com> wrote:
> Can't wait... Got to have it now. :(
>
> I patched xpath.c and created a function which takes a third parameter which are the known namespaces in a space delimited hash list ... I based the patch on some example code from the libxml website which works perfectly from the command line. However, in PostgreSQL, it only works 65% of the time. The other 35% of the time it returns an empty string. I have no idea how to debug that kind of problem.

Maybe if you look at the current CVS code (xml.c) it can help (as I've
said, namespaces support is implemented there).

>
> You make it sound like 8.3 will have full-featured xpath_* frunctions. Will it have full-featured xslt support as well?

No. For XSLT, you'll still have to use contrib/xml2. This most
probably will be changed in future versions (separate contrib/xslt or
something).

--
Best regards,
Nikolay

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron St-Pierre 2007-07-10 06:01:46 Re: Duplicate Unique Key constraint error
Previous Message Harpreet Dhaliwal 2007-07-10 05:14:08 Duplicate Unique Key constraint error