Bug Tracker

Opened 11 years ago

Closed 11 years ago

#3278 closed bug (duplicate)

filter: Invalid procedure call or argument from IE7 when querying on attributes containing a colon (XML namespacing)

Reported by: jsd1982 Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: IE7 filter colon attribute xhtml namespace DispHTMLTable Cc: jsd1982, flesler
Blocked by: Blocking:

Description

Specifically, the object that threw the exception was a DispHTMLTable in the filter function about 40 lines in:

for ( var i = 0, rl = r.length; i < rl; i++ ) {

var a = r[i], z = a[ jQuery.props[m[2]]
m[2] ];

The a[] expression evaluation bombs in IE7. My m[2] value was 'meta:sidebartab', but I get similar results with any attribute that contains a ':' (colon) character. Any other attribute value just returns undefined or null.

For some context, I'm making use of XHTML and custom namespaced attributes, but I guess I don't have to. It was just to see what I could do with XHTML and if it was valid or not.

Firefox 3 works just fine; or at least it doesn't blow up like IE7 does here.

Change History (3)

comment:1 Changed 11 years ago by flesler

Cc: jsd1982 flesler added

@jsd1982 Could this be related to this ticket ?

comment:2 Changed 11 years ago by jsd1982

It could be. I am using code from SVN trunk at r5799. Looks like his patch didn't correct the root problem in the filter method? I don't have time at the moment to look into this in great detail, but I will get back to it later.

comment:3 Changed 11 years ago by dmethvin

Resolution: duplicate
Status: newclosed

This is a dup of #1591, I've referenced it there.

Note: See TracTickets for help on using tickets.