W3C home > Mailing lists > Public > www-validator@w3.org > October 2003

CSS validator fails too (Re: Validator doesn't validate http://vaunt.net, but doesn't show any error)

From: Franci Penov <francip@yahoo.com>
Date: Sun, 12 Oct 2003 16:30:27 -0700 (PDT)
Message-ID: <20031012233027.88487.qmail@web13208.mail.yahoo.com>
To: www-validator@w3.org

That solved the problem and now the page is valid XHTML 1.1. It still doesn't
explain the strange behavior with the <meta> and <link> tags, though. I guess
the XML parser can't recover after the wrong <!doctype>.

Anyway, now I have problem with the CSS validator. It throws the following

Target: http://vaunt.net
Please, validate your XML document first!

Line 2

Column 6

The processing instruction target matching "[xX][mM][lL]" is not allowed. 

It's chocking on:

<?xml version="1.0" encoding="utf-8" ?>

If I remove this line, everything validates without problems. But the XHTML
specification conformance section
(http://www.w3.org/TR/xhtml11/xhtml11.html#s_conform) states that:

"An XML declaration like the one above is not required in all XML documents.
XHTML document authors are strongly encouraged to use XML declarations in all
their documents."

I would expect that if my page validates as XHTML, it would also be a valid
XML, right?

Franci Penov

--- Liam Quinn <liam@htmlhelp.com> wrote:
> On Sat, 11 Oct 2003, Franci Penov wrote:
> > got it to stage where the validator does not give me any error message, but
> > it still insist my page is not valid XHTML 1.1.
> You need to use "DOCTYPE" instead of "doctype" in XHTML/XML.

Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
Received on Sunday, 12 October 2003 19:34:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC