gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: xsl:include not working properly under Gump
Date Tue, 06 Jun 2006 22:01:50 GMT
OK, thanks - I've disabled the Gump fix.
[I'll remove it entirely later]

S.
On 06/06/06, Antoine Levy-Lambert <antoine@gmx.de> wrote:
> Hello Sebb,
>
> I broke xsl:include with a change in the XSLTTask in ant.
> I will fix this evening.
>
> Regards,
>
> Antoine
> > -------- Original-Nachricht --------
> > Datum: Tue, 6 Jun 2006 18:05:13 +0100
> > Von: sebb <sebbaz@gmail.com>
> > An: Jakarta General List <general@jakarta.apache.org>, Gump code and data
<general@gump.apache.org>
> > Betreff: xsl:include not working properly under Gump
> >
> > On 03/06/06, sebb <sebbaz@gmail.com> wrote:
> > > On 03/06/06, Stefan Bodewig <bodewig@apache.org> wrote:
> > > > To whom it may engage...
> > > >
> > > > news-gen:
> > > >     [mkdir] Created dir:
> > /x1/gump/public/workspace/jakarta-site2/target/news-gen
> > > >      [xslt] Processing
> > /x1/gump/public/workspace/jakarta-site2/news.xml
> > to /x1/gump/public/workspace/jakarta-site2/docs/site/rss.xml
> > > >      [xslt] Loading stylesheet
> > /x1/gump/public/workspace/jakarta-site2/xdocs/stylesheets/news2content.xsl
> > > >      [xslt]
> > /x1/gump/public/workspace/jakarta-site2/news2content.xsl:28:36: Error! Had
> > IO Exception with stylesheet file: common.xsl Cause:
> > java.io.FileNotFoundException:
> > /x1/gump/public/workspace/jakarta-site2/common.xsl (No such file or
> > directory)
> > >
> > > Something odd going on here. The loaded style-sheet is
> > >
> > > .../jakarta-site2/xdocs/stylesheets/news2content.xsl
> > >
> > > but the error message quotes:
> > >
> > > .../jakarta-site2/news2content.xsl
> > >
> > > This may explain why it is looking for
> > >
> > > .../jakarta-site2/common.xsl
> > >
> > > rather than
> > >
> > > .../jakarta-site2/xdocs/stylesheets/common.xsl
> > >
> > > I'm going to try:
> > > - deleting .../jakarta-site2/news2content.xsl just in case there is a
> > copy there
> > > - copying common.xsl into top-level
> > >
> > Copying common.xsl to the top-level works. But that in turn then
> > fails, because it also uses xsl:import. That can be fixed. But then
> > later xslt transformations fail. Etc.
> >
> > According to the documentation I've read, relative references in
> > xsl:import tags should be resolved with respect to the parent
> > document.
> >
> > However, when run under Gump, the references seem to be resolved
> > relative to the current working directory, which stops the build from
> > working.
> >
> > Does anyone know how to fix this?
> > Is it perhaps a feature of the xslt processor that is used?
> > How do I find out what is being used?
> >
> > Note that the build script works fine under Java 1.4 and 1.5 when run
> > outside Gump.
> >
> > Sebastian
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> > For additional commands, e-mail: general-help@gump.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Mime
View raw message