Re: [GENERAL] xpath_* namespace bug

2007-07-12 Thread Nikolay Samokhvalov
On 7/10/07, CG <[EMAIL PROTECTED]> 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 per

Re: [GENERAL] xpath_* namespace bug

2007-07-09 Thread CG
ssage From: Nikolay Samokhvalov <[EMAIL PROTECTED]> To: CG <[EMAIL PROTECTED]> Cc: postgresql listserv Sent: Monday, July 9, 2007 4:33:04 PM Subject: Re: [GENERAL] xpath_* namespace bug AFAIK, contrib/xml2 doesn't support namespaces for XPath expressions at all. Wait for Postgre

Re: [GENERAL] xpath_* namespace bug

2007-07-09 Thread Nikolay Samokhvalov
AFAIK, contrib/xml2 doesn't support namespaces for XPath expressions at all. Wait for PostgreSQL 8.3 :-) On 7/9/07, CG <[EMAIL PROTECTED]> wrote: select xpath_string($xml$ baz $xml$ ,'//f:bar/text()'); This does not give me back "baz" as I was expecting it to... It seems like xpath is igno