W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: [css3-namespace] duplicate declarations

From: Bert Bos <bert@w3.org>
Date: Wed, 4 Feb 2009 16:22:00 +0100
To: www-style@w3.org
Message-Id: <200902041622.00776.bert@w3.org>

On Tuesday 03 February 2009 15:33, Anne van Kesteren wrote:
> Should we make duplicate @namespace declarations a conformance error?
> E.g:
>
>   @namespace "test";
>   @namespace "test2";
>
> ... or:
>
>   @namespace x "test";
>   @namespace x "test2";

Not sure what a conformance error entails.

I guess if we say that duplicates are an error, it is more logical to 
keep the first one and ignore the second, rather than what the draft 
says currently: the last one wins. I think I prefer that the last one 
wins.

The validator might also give a slightly different message: "error, 
duplicate declaration" vs "warning, duplicate declaration."

Would anything else change?



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 4 February 2009 15:22:37 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:16 GMT