IE nodeName namespace
This is a cut-down version of http://jsfiddle.net/thingsinjars/xaKLn/
just to identify the differences in IE's nodeName output when namespaced elements are involved
HTML
<link rel="stylesheet" href="http://code.jquery.com/qunit/git/qunit.css">
<script src="http://code.jquery.com/qunit/git/qunit.js"></script>
<doctype html>
<html>
<head>
<charset="utf8">
<title>jQuery Namespace Test page</title>
</head>
<body>
<h1 id="qunit-header">QUnit example</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture">test markup, will be hidden</div>
</body>
</html>
JavaScript
module("createElement nodeName vs get(0).nodeName");
test("Compare elements without namespace", function() {
var element1, element2;
element1 = document.createElement('bc').nodeName;
element2 = $('<bc/>').get(0).nodeName;
equals(element1, element2, "We expect these to match");
});
test("Compare elements with namespace", function() {
var element1, element2;
element1 = document.createElement('a:bc').nodeName;
element2 = $('<a:bc/>').get(0).nodeName;
alert( element1 );
alert( element2 );
equals(element1, element2, "We expect these to match");
});