[VE][64] Confusing error when title missing
"Mellem, Dan" <[email protected]> Sat, 13 Jun 2015 00:53:32 +0000
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <50A1251FAB80254C80F21F53DF59B93DA4685AEB@PUSD-MStore1.pusd.pusd.org> |
When validating: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <p> test You get the error: Error [64]: "document type does not allow element X here" However, it would be clearer to report that the <title></title> section is missing or show [VE][73], but this is only shows if there's a "</head>." Adding a title validates: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <title>a</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <p> test Thanks, -Dan