Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > Is there any TODO here?
>
> It's clearly broken, if that's what you mean. I don't know enough XPath
> to speculate about an appropriate fix.
The XML wiki already had bug reports about so I added this report to
that list.
--
Bru
Bruce Momjian <[EMAIL PROTECTED]> writes:
> Is there any TODO here?
It's clearly broken, if that's what you mean. I don't know enough XPath
to speculate about an appropriate fix.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make c
Is there any TODO here?
---
Tom Lane wrote:
> "Enrico Sirola" <[EMAIL PROTECTED]> writes:
> > -- bad
> > select xpath('name(/my:a/*[last()])', test, ARRAY[ARRAY['my',
> > 'http://myns.com/ns']]) from test;
>
> You could bar
"Enrico Sirola" <[EMAIL PROTECTED]> writes:
> -- bad
> select xpath('name(/my:a/*[last()])', test, ARRAY[ARRAY['my',
> 'http://myns.com/ns']]) from test;
You could barely swat a fly with what I know about XPath ... but I'm
thinking that the culprit here is the crock at lines 3254-3288 of
xml.c, wh
On Thu, 2008-07-10 at 08:52 +, Enrico Sirola wrote:
> create table test (test xml);
> insert into test values (' xmlns="http://myns.com/ns";>text1text2');
> -- good
> select xpath('/my:a/*[last()]', test, ARRAY[ARRAY['my',
> 'http://myns.com/ns']]) from test;
> -- bad
> select xpath('name(/my
The following bug has been logged online:
Bug reference: 4294
Logged by: Enrico Sirola
Email address: [EMAIL PROTECTED]
PostgreSQL version: 8.3
Operating system: OSX, Linux (RHEL5)
Description:XML support: name() xpath function not working
Details:
it seems the name