> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, June 06, 2006 10:05 AM
> To: Jakarta General List; Gump code and data
> Subject: xsl:include not working properly under Gump
> 
> On 03/06/06, sebb <[EMAIL PROTECTED]> wrote:
> > On 03/06/06, Stefan Bodewig <[EMAIL PROTECTED]> 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/news
2content.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?
> 

Well, from the dependancy page, it would be the Gump-built xalan.

> Note that the build script works fine under Java 1.4 and 1.5 when run
> outside Gump.
> 
> Sebastian
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



This message is intended only for the use of the person(s) listed above as the 
intended recipient(s), and may contain information that is PRIVILEGED and 
CONFIDENTIAL.  If you are not an intended recipient, you may not read, copy, or 
distribute this message or any attachment. If you received this communication 
in error, please notify us immediately by e-mail and then delete all copies of 
this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through 
the Internet is not secure. Do not send confidential or sensitive information, 
such as social security numbers, account numbers, personal identification 
numbers and passwords, to us via ordinary (unencrypted) e-mail.


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

Reply via email to