Uwe Gerger <[EMAIL PROTECTED]> writes:

> As I understand, the parser that should be used, must be a Component of
> the Avalon Framework (org.apache.avalon.framework.component.Component)!
> Is this right?

JaxpParser is the Component for the role xml-parser and implements 
org.apache.excalibur.xml.sax.SAXParser.It will delegate its work 
to the JAXP-compatible parser, it retrieves through the JAXP interface.
If the parameter the sax-parser-factory has a value, it will use
this sax parser factory to retrieve the parser, otherwise it will use 
whatever JAXP parser it finds through the default mechanism.

You would only  write your own implementation of 
org.apache.excalibur.xml.sax.SAXParser, if you want to use a parser, which is not 
completely JAXP-compatible 
or needs special handling.

--
Martin Holz     <[EMAIL PROTECTED]>

Softwareentwicklung / Vernetztes Studium - Chemie
FIZ CHEMIE Berlin
Franklinstrasse 11
D-10587 Berlin       
 
 


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

Reply via email to