var XmlDocument = require('../').XmlDocument
var t = require('tap')

t.test('parsing comments outside XML scope [#27]', function (t) {
  
  var xmlString = '<hello>world</hello>\n<!--Thank you for your business!-->';
  var parsed = new XmlDocument(xmlString);
  t.end();
})

@@ -267,8 +267,275 @@
 d();%0A%7D)%0A
+%0At.test('validating escaping of &lt; &gt; %5B#29%5D', function (t) %7B%0A  %0A  var xmlString = '%3Croot%3E%3Ccommand%3E&lt; &gt;%3C/command%3E%3C/root%3E';%0A  var parsed = new XmlDocument(xmlString);%0A  var result = parsed.toString(%7Bcompressed:true%7D)%0A  t.equal(result, xmlString);%0A  t.end();%0A%7D)

Add test to validate escaping of &lt; &gt; [#29]