It's definitely a bug - we need to be able to support CSS namespace
selectors, e.g.: georss|point.

We support comma selectors - for example: "a, b" - doing ", point"
simply makes it possible to select just regular point elements (in the
browsers that handle the node names in the manner).

--John



On Mon, Oct 6, 2008 at 6:34 PM, GaryF <[EMAIL PROTECTED]> wrote:
>
> John, thanks very much for your reply. Your suggestion is spot on and
> worked in every browser. :-) But I don't understand the significance
> of the additional ", point" text that you added. I've tried hard to
> Google for a deeper understanding of jQuery expression syntax but with
> no joy.
>
> So does my bug report still stand given the outcome is different
> across browsers? I realise you've found a great solution for me (very
> grateful!!!) but am curious about the x-browser thing and why your
> revised expression works.
>
> Many thanks,
> Gary F.
>
>
> On Oct 6, 10:07 pm, "John Resig" <[EMAIL PROTECTED]> wrote:
>> Gary -
>>
>> What you've done is correct - we do examine bugs as they come in, but
>> sometimes they fall through the cracks. Searching for namespaced XML
>> results has always been a little harry in jQuery (something that we
>> need to resolve).
>>
>> What if you tried this:
>>
>> .find("georss\\:point, point").text()
>>
>> --John
>>
>>
>>
>> On Mon, Oct 6, 2008 at 12:38 PM, GaryF <[EMAIL PROTECTED]> wrote:
>>
>> > Regarding bug 3435 that I added 5 days ago, am I supposed to flag it
>> > up to people on this mailing list or will a jQuery developer examine
>> > it in due course? (Sorry I'm new to bug reporting in jQuery)
>>
>> > Using find('georss\\:point').text() to extract text from an XML/RSS
>> > node called georss:point you have to escape the colon with \\.
>> > However, this specific code only works in IE 6+7 and FF 3 but does not
>> > return a result for Opera 9, FF 2, Safari 3, and Chrome 1.
>>
>> > I've included example code and XML in the ticket.
>>
>> > This is my first post and bug report so please be kind to me if I've
>> > done anything wrong. Thanks in advance.
>>
>> > Gary.- Hide quoted text -
>>
>> - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to