|Summary:||Non-abbreviated XPaths don't work|
|Product:||WebKit||Reporter:||Alexey Proskuryakov <ap>|
|Component:||XML||Assignee:||Alexey Proskuryakov <ap>|
|OS:||OS X 10.4|
|Bug Depends on:|
Description Alexey Proskuryakov 2007-02-05 13:05:15 PST
It seems to be an issue in the parser that garbage is sent to XPath::Step ctor instead of correct Axis ids.
Comment 2 Alexey Proskuryakov 2007-02-05 13:40:00 PST
I have a fix for this issue (which is caused by a missing break in a switch statement in Parser::lex()), but my test case still doesn't work correctly. WebKit and Firefox/Opera seem to have different ideas about what a root node is (in Firefox, it's the document element, while in WebKit, it's the Document itself). Going to investigate this further.
Comment 3 Alexey Proskuryakov 2007-02-05 21:48:39 PST
Created attachment 12960 [details] proposed fix
Comment 4 Geoffrey Garen 2007-02-05 21:50:57 PST
Comment on attachment 12960 [details] proposed fix r=me
Comment 5 Alexey Proskuryakov 2007-02-05 21:53:19 PST
Committed revision 19425.