[html5] validator.nu Web GUI -- How to validate against XHTML5?
Michael[tm] Smith
mike at w3.org
Mon Nov 5 13:23:09 PST 2012
jama <jamappi at gmail.com>, 2012-11-05 22:04 +0100:
> On 05.11.2012 21:56, jama wrote:
> > It resets on me with this message:
> >
> > Info: The Content-Type was |text/html|. Using the HTML parser.
> >
> > Info: Using the schema for HTML5 + SVG 1.1 + MathML 3.0 + RDFa Lite
> > 1.1 + Microdata.
>
> When I save [1] as an html file, use the File Upload function and try to
> validate against XHTML5, I get the Info messages quoted above. Do you
> know why? (I'm assuming it's because I haven't set application/xhtml+xml.)
You need to set three different options:
1. Preset = XHTML5 + ...
2. Parser = XML; don't load external entities
3. Be lax about HTTP Content-Type (checked)
If you do that it should check it using the XML parser and validate it
against the XHTML5 rules instead of the HTML5 ones.
--Mike
--
Michael[tm] Smith http://people.w3.org/mike
More information about the Help
mailing list