W3C home > Mailing lists > Public > public-qa-dev@w3.org > December 2006

Re: [css-validator] counting listed warnings

From: olivier Thereaux <ot@zoy.org>
Date: Fri, 15 Dec 2006 17:26:21 +0900
Message-Id: <6A7FCFFD-0946-4ABD-8A5E-35F467FA3CD9@w3.org>
Cc: QA Dev <public-qa-dev@w3.org>, Philippe Le Hegaret <plh@w3.org>, Sijtsche Smeman <sijtschesmeman@wanadoo.nl>
To: Jean-Guilhem Rouel <jean-gui@w3.org>


On Dec 15, 2006, at 00:57 , Jean-Guilhem Rouel wrote:

> Hi,
>
> Another suggestion would be to produce a warning only if its level  
> corresponds to what the user asked. That would avoid the  
> computation of a lot of warnings and a simple warnings.size() (or  
> something like that) would be enough to get the number of warnings.

Sounds like a good idea.

Minor problem: there would be no way to tell the user "there were  
other warnings, not shown here." with a link to the validation with  
all warnings. I suppose the Warnings class could keep a count of  
ignored warnings, too.

Your proposed solution would fix the problem at hand, and also http:// 
www.w3.org/Bugs/Public/show_bug.cgi?id=4081

Would you have a free hour to hack it up? :)

(no, it's not *so* urgent, but we're releasing on monday, and having  
this would be very cool.)
-- 
olivier
Received on Friday, 15 December 2006 08:26:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:47 GMT