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

Attribute order affects validation result

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Sun, 20 Aug 2006 00:27:07 GMT
To: <www-validator-css@w3.org>
Message-ID: <ec8h9r.2k0.1@mail.christoph.schneegans.de>

Hello!

<http://jigsaw.w3.org/css-validator/validator?uri=http://schneegans.de/temp/space-preserve-pass.html>
"validates as CSS" as expected.
<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; }

Furthermore,
<http://lists.w3.org/Archives/Public/www-validator-css/2006Jul/0006.html>
has not been commented on yet. What's the status of this problem?

-- 
<http://schneegans.de/sv/> - XML Schema Validator                    |
<http://schneegans.de/xp/> - XHTML Proxy                             |
Received on Sunday, 20 August 2006 00:29:19 UTC

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