cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@sundn.de>
Subject AW: cvs commit: xml-cocoon2/webapp/stylesheets dynamic-page2html.xsl
Date Mon, 28 May 2001 06:29:58 GMT
Hi,

first: sorry for all the inconveniences with my latest updates for 
the SourceResolver. But now I am back online, and we can solve
all problems....(hopefully).

Removing the URIResolver interface from the TraxTransformer
solves the problems with the xsl:include reported over the 
last days. 
But without the URIResolver interface you can't include
"C2 urls" like context:, or resource: (or cocoon:).

As this might be usefull I will try to add it again but
this time without any sideeffects (if that's possible
at all).

Carsten

> Davanum Srinivas wrote:
> 
> Yes. This is intentional... :)
> 
> Thanks,
> dims
> 
> --- giacomo <giacomo@apache.org> wrote:
> > 
> > Just to be sure :) Did you remove the code snipped below intentionally
> > (meaning it is needless now)?
> > 
> > Giacomo
> > 
> > On 25 May 2001 dims@apache.org wrote:
> > 
> > > dims        01/05/25 07:26:00
> > >
> > >   Modified:    .        build.sh
> > >                src/org/apache/cocoon/transformation 
> TraxTransformer.java
> > >   -
> > >   -    /**
> > >   -     * Called by the processor when it encounters
> > >   -     * an xsl:include, xsl:import, or document() function.
> > >   -     *
> > >   -     * @param href An href attribute, which may be 
> relative or absolute.
> > >   -     * @param base The base URI in effect when the href attribute
> > >   -     * was encountered.
> > >   -     *
> > >   -     * @return A Source object, or null if the href cannot 
> be resolved,
> > >   -     * and the processor should try to resolve the URI itself.
> > >   -     *
> > >   -     * @throws TransformerException if an error occurs 
> when trying to
> > >   -     * resolve the URI.
> > >   -     */
> > >   -    public javax.xml.transform.Source resolve(String href, 
> String base)
> > >   -    throws javax.xml.transform.TransformerException {
> > >   -        try {
> > >   -            return new
> > 
> javax.xml.transform.stream.StreamSource(this.resolver.resolve(href
> ).getReader());
> > >   -        } catch (IOException e) {
> > >   -            throw new javax.xml.transform.TransformerException(e);
> > >   -        } catch (SAXException e) {
> > >   -            throw new javax.xml.transform.TransformerException(e);
> > >   -        }
> > >   -    }
> > >   -
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> > 
> 
> 
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

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


Mime
View raw message