[Webkit-unassigned] [Bug 12632] XPath: Cannot apply predicate to context node.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 6 09:45:49 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12632





------- Comment #2 from ldanielburr at mac.com  2007-02-06 09:45 PDT -------
(In reply to comment #0)
> The following expression, which works correctly in Opera and Firefox, throws
> "INVALID_EXPRESSION_ERR: DOM XPath Exception 51":
> 
> .[@*[]
>

Argh, somehow that didn't paste correctly.  It should be ".[@name='test']". 
Note that the attached sample is correct, and will reproduce the problem
accurately.

> This is just a simple example, but basically any attempt to apply a predicate
> to the context node fails with this error.  As noted above, Firefox and Opera
> both return the context node if the predicate evaluates as true.
> 


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list