Xalan/J Scott Boag/CAM/Lotus wrote: > Is this with Xalan/C or Xalan/J? We were just talking about such a bug > with Xalan/C the other day, and I think Dave has it fixed. > > -scott > > > Brian > Silberbauer To: apache xml general > tec.co.za> Subject: import tag, setSystemId and Linux > > 05/25/2000 > 05:56 AM > Please > respond to > general > > > > Hi > > I have an xsl file with an import in it. I do the following: in my code > I first read the document base of all my xsl files from a property file, > then create a XSLTInputSource with the xsl file and finally set the > SystemId to the xsl document base. This works under NT, but when I move > over to Linux, it tries to find the import files from a directory above > the document base?!? > > ie: docbase = /home/poi/arb/xsl and import = template.xsl > It returns an error for the file /home/poi/arb/template.xsl > > What happened to the xsl directory? > > I get around this problem by copying my xsl files into the directory > above the xsl document base and everything is peachy, but am I missing > something here? Why does it work under NT? > > brian > > > File fFile = new File(sDocbase, sFilename); > FileInputStream fIn = new FileInputStream(fFile); > XSLTInputSource xsltIn = new XSLTInputSource(fIn); > xsltIn.setSystemId(sDocbase); > > > > > > > --------------------------------------------------------------------- > In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org > > --------------------------------------------------------------------- > In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org