> Carsten Ziegeler wrote:
>
> > 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.
>
I just checked some ideas to make it at least work, but unfortunalety
Xalan prevents us from a working version.
So, to avoid any problems with the XSL specification, we can't use
the cocoon urls in xsl:include etc for now. When the problem in Xalan
is fixed, we can use it.

Sorry, I don't see any working solution right now for Cocoon2.


Carsten

Open Source Group                        sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de                          mailto: [EMAIL PROTECTED]
================================================================

> >
> > There are two problems (I think) in TraxTransformer.java,
> >
> > line 264 should read lastIndexOf('/') rather than indexOf('/'), I think.
> >
> Yes, absolutely. I have fixed this. Thanks.
>
> > and there is a call to new java.net.URL(base) 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.
>
>
> Carsten
>
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: [EMAIL PROTECTED]
> ================================================================
>
>
> > 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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


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

Reply via email to