RE: the file of the URL below validates properly as xhtml1.1, the CSS as well, but clicking on the "check for validity" of CSS validator result page fails

> * Ralf Hauser wrote:
> >http://validator.w3.org/check?uri=http://www.privasphere.org/extP
rotoType/m4/index.en.html
> >works fine.
> >Clicking on the
> >http://jigsaw.w3.org/css-validator/validator?uri=http://www.priva
sphere.org/extProtoType/m4/index.en.html link
> >however yields:
> ><<Please, validate your XML document first!
>
> First two lines of your XHTML document are
>
>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR//DTD/xhtml11.dtd">
>   <?xml version='1.0' encoding='ISO-8859-1'?>
>
> The XML declaration needs to occur at the very beginning of the
> document, not after the document type declaration. The CSS Validator is
> right, the document is not well-formed. The HTML Validator (old and beta
> version) are not able to find this error.
My first four lines now are:

<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR//DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

and it still complains about line 1, col 3 - what's wrong with the "x" of my
"xml"?

Received on Thursday, 24 October 2002 03:02:28 UTC