Hi Garret,
Can you just confirm if your script tag is in the top of the document? Do you have any iframes on your page? This looks like is being thrown when doing feature detections, while setting the current document. Anyway, this looks like a bug and will be tested. It's probably fixed on a code push i've done for Slick 1.1.x (Will be included on Mootools 1.3.1). FYI, We've got around 700 specs just for xhtml documents, so yeah we care about xhtml documents. -- Fábio Miranda Costa frontend@portalpadroes Globo.com *github:* fabiomcosta *twitter:* @fabiomiranda *ramal:* 6476 On Sat, Feb 19, 2011 at 12:07 AM, Garret Wilson <[email protected]>wrote: > I thought about the nightmare of building my own "domready" > functionality and keeping it current with browsers, and decided to try > MooTools once again. > > So I go back to MooTools and start playing around with my site. > Firefox gives me this: > > Error: mismatched tag. Expected: </div>. > Source File: > Line: 1, Column: 138 > Source Code: > <html xmlns="http://www.w3.org/1999/xhtml" xmlns:guise="http:// > guiseframework.com/id/ml#"><div xmlns="http://www.w3.org/1999/ > xhtml">foo</foo></ > > What!?? That's not my code. It's not TinyMCE, either! Could it be?... > > try { > testNode.innerHTML = 'foo</foo>'; > selected = testNode.getElementsByTagName('*'); > starSelectsClosed = (selected && selected.length && > selected[0].nodeName.charAt(0) == '/'); > } catch(e){}; > > this.brokenStarGEBTN = starSelectsComments || > starSelectsClosed; > > // IE 8 returns closed nodes (EG:"</foo>") for > querySelectorAll('*') > for some documents > if (testNode.querySelectorAll) try { > testNode.innerHTML = 'foo</foo>'; > selected = testNode.querySelectorAll('*'); > this.starSelectsClosedQSA = (selected && > selected.length && > selected[0].nodeName.charAt(0) == '/'); > } catch(e){}; > > Yes, I know nobody else probably uses or cares about XHTML, but I do. > > (Weeps softly...)
