skip doctype as one fix for failure
remove debugging code
Merge pull request #1 from stmuk/master

skip doctype as one possible fix for failure