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

Re: [css3-namespace] duplicate declarations

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 04 Feb 2009 16:26:06 +0100
To: www-style@w3.org
Message-ID: <op.uot2hset64w2qv@annevk-t60.oslo.opera.com>

On Wed, 04 Feb 2009 16:22:00 +0100, Bert Bos <bert@w3.org> wrote:
> 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.

It means that the validator says there is an error in your style sheet.


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

Yes, that (processing of style sheets) is not going to change.


> The validator might also give a slightly different message: "error,
> duplicate declaration" vs "warning, duplicate declaration."
>
> Would anything else change?

No.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 4 February 2009 15:26:50 GMT

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