|
Validator fails horribly on ill-formed XMLDecls: msg#00064org.w3c.validator
Hi, The following example document will cause horrible results by the validator (note the missing trailing '?' in the XML declaration): <?xml version='1.0' encoding='iso-8859-1'> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <p>...</p> </body> </html> (online demo at http://www.bjoernsworld.de/temp/invalid-xmldecl.html) First, it doesn't warn about the ill-formed XML declaration, then it fails to detect the character encoding and prints out dozens of errors Error: omitted tag minimization parameter can be omitted only if "OMITTAG NO" is specified on the SGML declaration for non-existent lines. regards. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: image map validates, but doesn't work in Moz: 00064, Liam Quinn |
|---|---|
| Next by Date: | Re: justification for producing valid [X]HTML?: 00064, Dominique Hazaël-Massieux |
| Previous by Thread: | image map validates, but doesn't work in Mozi: 00064, Peter Sheerin |
| Next by Thread: | Re: Validator fails horribly on ill-formed XMLDecls: 00064, Olivier Thereaux |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |