Bug Tracker

Opened 14 years ago

Closed 12 years ago

#3435 closed bug (fixed)

WebKit browsers can't find() using expression with escaped character

Reported by: garyf Owned by:
Priority: low Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: find, webkit, safari, chrome, expressions, escape, escaped, characters Cc:
Blocked by: Blocking:

Description

I have some code to extract text from an RSS feed including a node containing georss data (geographical coordinates) called georss:point.

IE and Gecko browsers are able to use find('georss
:point').text() to extract the text but WebKit browsers (Chrome/Safari3) totally fail to find it.

I'm wondering if escaped characters in find() expressions aren't compatible with WebKit?

I've attached two files which reproduce the problem. IE/FF will show the extracted geo coordinates correctly. (Please point the script to your local copy of jquery.js)

Attachments (2)

test.htm (1021 bytes) - added by garyf 14 years ago.
JQuery test to reproduce problem
test.xml (1.1 KB) - added by garyf 14 years ago.
Example XML file (RSS) to use against the example code

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by garyf

Attachment: test.htm added

JQuery test to reproduce problem

Changed 14 years ago by garyf

Attachment: test.xml added

Example XML file (RSS) to use against the example code

comment:1 Changed 14 years ago by garyf

Opera doesn't like it either and nor does FireFox 2.

So it's just IE 6+7 and FF 3 that works well with this method.

Opera 9, FF 2, Safari 3, Chrome 1 don't like it. Is there any other way to achieve the same goal that's x-browser compatible? Thanks.

comment:2 Changed 12 years ago by Rick Waldron

Priority: majorlow
Resolution: fixed
Status: newclosed

This issue no longer exists - tested with attached test case files locally, in FF3

Note: See TracTickets for help on using tickets.