You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Voytenko, Dimitry" <DV...@SECTORBASE.COM> on 2000/10/17 20:36:08 UTC

RE: HELP!!

You can do this right now. You create XSLInputSource with InputStream (to
open and close it manually) and then call XSLInputSource.setSystemId() (to
let XSLT work correctly with relative paths). 

-----Original Message-----
From: Kristofor Selden [mailto:kselden@oxygen.com]
Sent: Tuesday, October 17, 2000 11:39
To: 'xalan-dev@xml.apache.org'
Subject: HELP!!


I tried posting this earlier but it didn't seem to work.

When giving Xalan a XSLTInputSource with a systemId (which is the ONLY
option if you want relative include and imports to work correctly) the
InputStream is not always closed by Xalan. This seems to always happen when
a fatal error occurs but I can't fix the problem because the JVM holds locks
on the files so I can't change the XSL unless I shutdown my Web server. When
using InputStreams or anything other input source besides a systemId I wish
you could set a base URL for xsl:import and xsl:include so I could close my
streams in a finally like they should be.

Kristofor Selden
Oxygen Media
206.301.5081