WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 12632
17410
XPath parser chokes with some queries
https://bugs.webkit.org/show_bug.cgi?id=17410
Summary
XPath parser chokes with some queries
Valentino Volonghi
Reported
2008-02-17 08:27:35 PST
.//*[@*[translate(name(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')='athena:class']='foobar'] | .[@*[translate(name(),'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')='athena:class']='foobar'] This query fails with WebKit but works on Opera and Firefox. The problem is the second part of the OR and more specifically the expression: .[****]
Attachments
Test file that shows the problem
(1.51 KB, text/html)
2008-02-17 08:28 PST
,
Valentino Volonghi
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Valentino Volonghi
Comment 1
2008-02-17 08:28:59 PST
Created
attachment 19177
[details]
Test file that shows the problem
Alexey Proskuryakov
Comment 2
2008-02-18 02:56:39 PST
We may have to change WebKit behavior for compatibility with Firefox one day, but WebKit is correct here, according to the spec. *** This bug has been marked as a duplicate of
12632
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug