Summary: | XPath: id('foo') doesn't resolve correctly | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dan Fabulich <dan> | ||||||
Component: | XML | Assignee: | Alexey Proskuryakov <ap> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | ap | ||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Dan Fabulich
2007-10-05 13:44:45 PDT
Created attachment 16552 [details]
example repro
To work around this problem, append a space to the parameter: "id('nested1 ')" works fine to find an element with id "nested1".
> And I thought I fixed this in bug 12485 :-/
That was a completely different bug with similar symptoms.
Created attachment 16565 [details]
proposed fix
Comment on attachment 16565 [details]
proposed fix
r=me
Committed revision 26081 (feature branch). This isn't yet fixed in the official webkit nightly builds (r26359), but I think that's expected, since the change is currently only in the feature-branch...? How/when would we expect to see this in the nightly build? [I won't even ask about when we'd expect to see this fixed in Safari ... ;-)] There are nightly builds of the feature branch - the link is hidden at the bottom of <http://nightly.webkit.org/>. Also, as it was recently announced on the developer list, the feature branch will soon move to trunk. This is fixed in WebKit trunk r26595. Is this bug likely to get fixed in Safari 3? Seed 310A15 is from September 26 and has this bug (which I filed on 10/5). (In reply to comment #9) > Is this bug likely to get fixed in Safari 3? Apple doesn't comment on future products, and we outside Apple do not have any information about their plans. |