two more test cases
xhtml documents have an xml document declaration at the top
document is just packed in invalidities
documented parse issues due to bad HTML