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

Re: Attribute order affects validation result

From: David Dorward <david@dorward.me.uk>
Date: Sun, 20 Aug 2006 02:40:22 +0100
Message-ID: <44E7BD86.2010602@dorward.me.uk>
To: Christoph Schneegans <Christoph@Schneegans.de>
CC: www-validator-css@w3.org

Christoph Schneegans wrote:
> <http://jigsaw.w3.org/css-validator/validator?uri=http://schneegans.de/temp/space-preserve-fail.html>
> has exactly the same canonical form, the only difference is in the
> attribute order of the root element, yet the CSS Validator reports a
> misleading error:
>   Parse Error - space='preserve' type='text/css'>p { color: blue; }

Your document is being served as text/html, but isn't a valid XHTML 1.0
document that conforms to the Appendix C guidelines.

Serving it with the correct content type produces a "valid" response.


David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
                     Home is where the ~/.bashrc is
Received on Sunday, 20 August 2006 01:41:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:00:57 UTC