Bug Tracker

Modify

Ticket #3435 (closed bug: fixed)

Opened 5 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

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

Change History

Changed 5 years ago by garyf

JQuery test to reproduce problem

Changed 5 years ago by garyf

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

comment:1 Changed 5 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 3 years ago by rwaldron

  • Priority changed from major to low
  • Status changed from new to closed
  • Resolution set to fixed

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.