Skip to main content

Bug Tracker

Side navigation

#3435 closed bug (fixed)

Opened October 01, 2008 01:32PM UTC

Closed October 29, 2010 02:48PM UTC

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:

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 (1.0 KB) - added by garyf October 01, 2008 01:33PM UTC.

    JQuery test to reproduce problem

  • test.xml (1.1 KB) - added by garyf October 01, 2008 01:34PM UTC.

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

Change History (2)

Changed October 01, 2008 01:54PM UTC by garyf comment:1

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.

Changed October 29, 2010 02:48PM UTC by rwaldron comment:2

priority: majorlow
resolution: → fixed
status: newclosed

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