'If a document is surrounded by non-xml text, the text should
be remain in the XML.'

def test_surroundingCrap(self):

    s = 'Hi<br>    orders!'
    d = microdom.parseString(s, beExtremelyLenient=True)
    self.assertEqual(d.firstChild().toxml(), '<html>Hi<br    />    orders!</html>')
