ok thanks,

it was the deprecated comment in o.a.c.environment that made me doubt.

    /**
     * Resolve the source.
     * @param systemID This is either a system identifier
     * (<code>java.net.URL</code> or a local file.
     * @deprecated Use the resolveURI methods instead
     */
   Source resolve(String systemID)
    throws ProcessingException, SAXException, IOException;


Carsten Ziegeler wrote:




-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jorg Heymans
Sent: Tuesday, July 13, 2004 11:14 AM
To: [EMAIL PROTECTED]
Subject: AbstractDOMTransformer is still using org.apache.cocoon.environment.SourceResolver


Is this intentional?


Yes. Every sitemap component is using the o.a.c.e.SourceResolver The doc you're quoting just informes you about an additional way of getting the SourceResolver component which can be used in every component that is not a sitemap component.

Carsten


http://cocoon.apache.org/2.1/installing/updating.html says

The SourceResolver is now an Avalon component which can be accessed using cocoon.manager.lookup(SourceResolver.ROLE). The package name of the component is org.apache.excalibur.source.

Shall I provide a patch?

Thanks
Jorg








Reply via email to