[Webkit-unassigned] [Bug 15989] New: XPath queries with predicates incorrectly retains the current node across unions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 14 12:41:07 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=15989
Summary: XPath queries with predicates incorrectly retains the
current node across unions
Product: WebKit
Version: 523.x (Safari 3)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: XML
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: khooyp at cs.umd.edu
In the nightlies as well as Safari 3.0.3 on Tiger, XPath queries which contain
unions of queries with predicates (e.g.
"ancestor::xhtml:*[local-name()='span']|.") doesn't quite work right. It seems
that the context-node gets overwritten by each union operand predicate, so
every subsequent operand is applied to the wrong context node.
E.g.:
<div>
<span id="A">
<span id="B"/>
</span>
</div>
The query "ancestor::xhtml:*[local-name()='span']|." from span#B will not
return [span#A, span#B] since the context-node for both operands are span#B. It
will instead return [span#A, div], as if the context-node for the second
operand had been the top-most ancestor.
--
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