W3C home > Mailing lists > Public > www-validator-css@w3.org > December 2006

Re: strange CSS validator error

From: Benjamin Niemann <pink@odahoda.de>
Date: Sun, 03 Dec 2006 14:28:07 +0100
To: www-validator-css@w3.org
Message-ID: <ekujd8$boo$1@sea.gmane.org>


Sean wrote:
> I am trying to verify the CSS on one of my pages and I am getting the
> following output:
> ------------------------------------------------------------------------
>     Target: http://www.eternalrise.com/feedback
> Please, validate your XML document first!
> Line 13
> Column 3
> The element type "HR" must be terminated by the matching end-tag "</HR>".
> ------------------------------------------------------------------------
> My pages validate fine when using the XHTML validator, and I'm not even
> using a "<hr>" tag, so I don't get it.
> Can you please check this out and get back with me, I would greatly
> appreciate it.

Strange indeed.
The only thing that I can see, is that you are using XHTML 1.1 and serve it
as text/html, which is not allowed. For XHTML 1.1 you must use

If the document is served as application/xhtml+xml, the CSS validator does
work - try <http://testbox.puppetmaster.homelinux.org/feedback.xhtml>.
It also works with a XHTML 1.0 Strict doctype declaration, served as
text/html - see <http://testbox.puppetmaster.homelinux.org/feedback.html>.

But the error message is pretty confusing and looks like a bug of the


Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
Received on Sunday, 3 December 2006 13:28:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:42 UTC