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

Re: [css3-namespace] duplicate declarations

From: Bert Bos <bert@w3.org>
Date: Wed, 04 Feb 2009 09:35:56 +0100
Message-ID: <4989536C.9010208@w3.org>
To: www-style@w3.org
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.

The spec currently says that the last declaration wins. If we say that 
duplicates are in error it seems more logical that the first one wins. I 
think I prefer the current text.

Apart from the output of the validator ("warning" vs "error"), 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 Saturday, 24 October 2009 23:01:59 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC