[HTML5] H Sivonens conformance checker says strange things
Henri Sivonen
hsivonen at iki.fi
Mon Feb 19 12:54:39 PST 2007
On Feb 19, 2007, at 21:48, Keryx Web wrote:
> Just to see how much my current practices differ from (X)HTML 5 I
> did a little test on my own page:
>
> http://hsivonen.iki.fi/validator/html5/?doc=http%3A%2F%2Fkeryx.se
>
> Some errors are understandable, but some are not:
>
> Line 9: "Element base from namespace http://www.w3.org/1999/xhtml
> not allowed in this context." When is it allowed, if not in the
> head element?
Your document is served as XHTML. <base> is not allowed in XHTML5 at
all.
> Line 42: "Text not allowed here" and "Element a from namespace
> http://www.w3.org/1999/xhtml not allowed in this context."
>
> This is the faltering text:
> <div id="uRhere">
> Du är här: keryx/startsidan.
> <a href="#maincontent">Hoppa till huvudinnehållet (h)</a>
> Sidans menysektion:<!-- kommer höras i talsyntes -->
> </div>
>
> A div may have text and inline content or block level elements, but
> not both, according to the spec? Am I wrong or is H Sivonens
> validator broken?
I don't keep the validator in sync with the spec on a daily basis, so
it is constantly more or less broken. Currently, I am writing *about*
the software, so work *on* the software is suspended temporarily.
Besides, I am hoping that <font> just goes away before I get around
to expending the implementation effort. :-)
When I last revised <div>, Hixie had made it block only. Since this
is a high-visibility issue, I have made an unscheduled change and
reverted it to bimorphic. I didn't add the new scoped <style> stuff,
yet, though.
> Accesskeys - Gone for good?
Not in the spec yet.
> Javascript in <a href="javascript...."> (Yes I know it is bad
> practice. I was lazy.) - Gone for good?
No. They aren't real URIs so they fail. I need to make a special case
for them.
--
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
More information about the Help
mailing list