W3C home > Mailing lists > Public > public-qa-dev@w3.org > April 2008

Re: Outline feature in validator (was: profiling the Markup Validator with Devel::NYTProf)

From: olivier Thereaux <ot@w3.org>
Date: Mon, 7 Apr 2008 08:26:56 -0400
Cc: public-qa-dev hacking list <public-qa-dev@w3.org>
Message-Id: <509DAF9D-DA2B-4FA7-8925-301AF9C7B50A@w3.org>
To: Dominique Hazael-Massieux <dom@w3.org>


On Apr 7, 2008, at 07:32 , Dominique Hazael-Massieux wrote:
>> The way the API works is to define a handler module with a subroutine
>> for each sort of event, and short of making several handler modules,
>> one with data subroutine and one without (and we can imagine other
>> branching situations) I don't think it's possible to just say "don't
>> use your data routine for data events".
>
> Well, if the cost of using a single handler is so high, I would
> definitely recommend defining several handler modules; I expect one  
> can
> inherit from another, and thus, there wouldn't be any code  
> duplication,
> right?

yes, indeed. Any better/simpler solution from others on the list?

-- 
olivier
Received on Monday, 7 April 2008 12:27:33 GMT

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