varXmlDocument=require('../').XmlDocumentvart=require('tap')t.test('parsing comments outside XML scope [#27]',function(t){varxmlString='<hello>world</hello>\n<!--Thank you for your business!-->';varparsed=newXmlDocument(xmlString);// verify that the trailing comment is ignored (no sensible place to put it)t.equal(parsed.toString(),'<hello>world</hello>');t.end();})t.test('validating escaping of < > [#29]',function(t){varxmlString='<root><command>< ></command></root>';varparsed=newXmlDocument(xmlString);varresult=parsed.toString({compressed:true})t.equal(result,xmlString);t.end();})