Bug 12485

Summary: XPath id() function doesn't work as root in paths
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: XMLAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
test case
none
proposed fix darin: review+

Description Alexey Proskuryakov 2007-01-30 11:56:51 PST
Not sure about the exact scope of the problem, but the attached test case fails.

XPath in question: "id('a')/div".
Comment 1 Alexey Proskuryakov 2007-01-30 11:57:45 PST
Created attachment 12804 [details]
test case
Comment 2 Alexey Proskuryakov 2007-02-03 06:06:58 PST
Created attachment 12897 [details]
proposed fix

Actually implement Path::doEvaluate().
Comment 3 Darin Adler 2007-02-03 12:05:55 PST
Comment on attachment 12897 [details]
proposed fix

Looks fine, r=me.
Comment 4 Alexey Proskuryakov 2007-02-03 12:31:22 PST
Committed revision 19388.