[jQuery] jQuery and XHTML as XML

[jQuery] jQuery and XHTML as XML

Hi,
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" ) {
-- Klaus
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
















    • Topic Participants

    • larry