/*global require, module*/
/*jslint vars:true*/
(function () {'use strict';

var jml = require('../jml'),
    testCase = require('nodeunit').testCase,
    DOMParser = require('xmldom').DOMParser,
    XMLSerializer = require('xmldom').XMLSerializer;

var xml = new DOMParser().parseFromString('<div class="test">someContent</div>', 'text/html').documentElement;


module.exports = testCase({

    // ============================================================================
    'simple div': function(test) {
    // ============================================================================
        test.expect(1);
        var expected = ['div', {'class': 'test'}, ['someContent']];
        var result = jml.toJML(xml);
        test.deepEqual(expected, result);
        test.done();
    }

});

}());

@@ -659,16 +659,57 @@
 : 'test'
+, 'xmlns': 'http://www.w3.org/1999/xhtml'
 %7D, %5B'som

add expected NS