Re: Attribute order affects validation result

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.

http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fdorward.me.uk%2Ftmp%2Fxhtml%2Fstyle%2Fspace-preserve-fail.xhtml

-- 
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