[jQuery] XML and handling namespaces
>> currently, the pipe symbol ("|") is inside expression used as an
>> equivalent for a comma (","). On the other hand, it's the CSS symbol
>> to select by namespaces, eg.
>> <soap:envelope> would be selected with soap|envelope in CSS.
>>
>> So far I haven't seen anyone actually using the pipe as a replacement
>> for a comma. I propose to remove this duplicate functionality and
>> instead introduce namespace handling via a pipe in expressions.
I agree.
> Its not that simple. The | is actually also part of an attribute
> selector...:
> [att|=val]
> Is that supported in jQuery anyway?
> Other than that I agree on the namespace topic.
It's pretty easy for a lexical analyzer to check for | versus |= so that
part isn't too much of a problem. I think John removed support for |= a
while back anyway, there was a thread about it in the list.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/