Skip to main content

Bug Tracker

Side navigation

#3278 closed bug (duplicate)

Opened August 21, 2008 09:01PM UTC

Closed May 16, 2009 03:05PM UTC

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.

Attachments (0)
Change History (3)

Changed August 22, 2008 01:29AM UTC by flesler comment:1

cc: → jsd1982, flesler

@jsd1982

Could this be related to this ticket ?

Changed August 22, 2008 03:48PM UTC by jsd1982 comment:2

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.

Changed May 16, 2009 03:05PM UTC by dmethvin comment:3

resolution: → duplicate
status: newclosed

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