thanks; this is helpful.

On Aug 10, 3:52 am, DBJDBJ <dbj...@gmail.com> wrote:
> var $xml = $("<x:root xmlns:x='uri' xmlns:y='uir2' ><x:node
> x:name='n1'>No </x:node><y:node>namespaces</y:node></x:root>");
>
> $xml.find("*[x:name=n1]").length < 1
> /*
> Syntax error, unrecognized expression: [x:name=n1]
> */
> $xml.find("*[x\\:name=n1]").length < 1
> /*
> true
> */
> $xml.find("*[name=n1]").length < 1
> /*
> true
> */
> Therefore :
> 1. *Sizzle* does not support namespaces in selector syntax
> 2. for node selectors namespaces will be ignored
> 3. for attribute selectors namespaces are provoking error . silent or
> not.
>
> Please see this 
> too:http://groups.google.com/group/sizzlejs/browse_thread/thread/48ef4372...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to