Carsten Ziegeler a écrit :
> 
> Hi,
> 
> after falling into the same trap for the third time
> I would suggest to use only a consumer and
> not distinct between lexical handler and content
> handler for the sitemap components.
> 
> Some components, e.g. the TraxTransformer only
> initialize well if the setConsumer() method
> is used. if you use setContentHandler and
> setLexicalHandler this fails.
> This is a deep trap I think many component writers
> will fall into.
> 
> So I suggest, lets remove the setContentHandler,
> setLexicalHandler methods from the interfaces.
> 
> In most cases these aren't used anyway.
> 
> It would also clean up the interfaces.
> 
> Suggestions?
> 
> Carsten
> 
Is LexicalHandler really useful ? There doesn't seem to be some real use
of its methods in the code base (only pass-through in abstract or
general implementations).

If it proves to be of no use, XMLConsumer may be replaced by
ContentHandler...
-- 
Sylvain Wallez
Anyware Technologies - http://www.anyware-tech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to