cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject [C2]: XMLConsumer vs. ContentHandler/LexicalHandler
Date Mon, 28 May 2001 11:48:28 GMT
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 

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: cziegeler@sundn.de 
================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message