Jeremias Maerki wrote:
>
> Hi there
>
> I wanted to use org.apache.avalon.excalibur.xml.xpath.XPathProcessor but
> I've realized that it's a bit difficult since the two implementations
> don't implement the Component interface. I've had a look into Cocoon2
> CVS where XPathProcessorImpl does implement Component. Would some be so
> kind as to do that little modification in Excalibur?
>

To be honest, the implementation in Avalon is correct! The XPathProcessor,
the interface not the implementation, extends the Component interface, so
there
is no need for the implementations to implement them as well. In fact this
is the way, the Avalon team suggest to design the interface.
So it should be possible to use those components.

Cocoon unfortunately does not follow the above guidline - not yet, but it
will shorty....

Carsten
> By the way: The way the two implementations (Xalan and Jaxen) are done,
> it should be safe to implement "ThreadSafe" as well. That way, they
> won't get recreated with each use. Am I right?
>


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

Reply via email to