Hi Carsten, I wouldn't do that. By passing parameters to configure a Component you break SoC pattern. I would just have different parsers configured with different parameters and select them using the CS or CM.
Mircea ----- Original Message ----- From: "Carsten Ziegeler" <[EMAIL PROTECTED]> To: "Avalon Development" <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 5:45 AM Subject: [Proposal]: Extending Parser Interface > Hi, > > what do you think of extending the > org.apache.excalibur.xml.sax.Parser interface by > adding a parse() method: > > void parse( InputSource in, > ContentHandler contentHandler, > LexicalHandler lexicalHandler, > Parameters parameters ) > throws SAXException, IOException; > > With this method you can influence the parsing, e.g. > turn on/off validation for this parse cycle etc. > > Carsten > > -- > To unsubscribe, e-mail: <mailto:avalon-dev-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:avalon-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org>
