Bug Tracker

Opened 13 years ago

Closed 10 years ago

#175 closed bug (fixed)

XHTML Tables

Reported by: john Owned by:
Priority: undecided Milestone:
Component: ajax Version:
Keywords: "" Cc: ""
Blocked by: Blocking:

Description (last modified by dmethvin)

I just spotted in Revision 226, that jQuery will not by all means support XHTML as XML.

Line 743 reads:

if ( table && this.nodeName == "TABLE" && a[0].nodeName != "THEAD" ) {

nodeName in XML preserves case, that means in XHTML as XML it would return "table" and "thead" so that doesn't work here.

This may not have high priority but needs to be fixed, maybe in jQuery 1.01 or something?

Fix:

if ( table && this.nodeName.toUpperCase() == "TABLE" && a[0].nodeName.toUpperCase() != "THEAD" ) {

Change History (3)

comment:1 Changed 13 years ago by MrBester

I would guess that this came from a non-IE direction as that returns uppercase regardless of the original case. That may be different in IE7, but I somehow doubt it. Either way, I heartily endorse this product and/or service.

comment:2 Changed 13 years ago by joern

Resolution: fixed
Status: newclosed

Fixed in SVN.

comment:4 Changed 10 years ago by dmethvin

Component: ajax
Description: modified (diff)
need: Review
Priority: blocker
Resolution: fixed
Status: reopenedclosed
Type: bug

Reopened by spammer.

Note: See TracTickets for help on using tickets.