cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <>
Subject AW: Bug in TraxTransformer resolve()??
Date Fri, 01 Jun 2001 06:20:06 GMT
> Rob Moffat wrote:
> I have been having some problems with the TraxTransformer
> resolving URL's in
> XSL when using <xsl:import>.
> I am using my own URLFactory class, so this is why this problem has shown
> up.
The current cvs version of C2 doesn't set the URIResolver at all
as there are some problems with the base argument passed to the resolve
method. So your own URLFactory will currently not work.
But I think I can make a fix today for this.

> There are two problems (I think) in,
> line 264 should read lastIndexOf('/') rather than indexOf('/'), I think.
Yes, absolutely. I have fixed this. Thanks.

> and there is a call to new on line 252.  I think this
> should be using the URL factory component to resolve its URL instead of
> creating a new one.
Hm, probably you are right. I think we can forget creating a new url at all.
I fixed this, too.


Open Source Group                        sunShine - b:Integrated
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn                          mailto:

> Its home time, so I haven't had time to patch this myself today, but if I
> come up with something that works okay, I'll post it.  Has anyone else had
> problems with this???

To unsubscribe, e-mail:
For additional commands, email:

View raw message