Bugzilla – Bug 1023
Missing open <html> tag not detected
Last modified: 2015-03-31 03:01:33 CEST
Omitting the <html> tag at the beginning of the document seems to be fine to the validator. This is considered valid (it's the default example, with <html> removed): <!DOCTYPE html> <head> <title>Test</title> </head> <body> <p></p> </body> </html> xmllint of course rejects that.
I discovered that this was tolerated by the HTML5 spec! Adding a warning couldn't hurt, though.
resolving; see comment 1