RE: [xsl] UnknownHostException

Subject: RE: [xsl] UnknownHostException
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 25 Oct 2001 12:31:09 +0100
> I am using saxon
> My transformation works on Windows NT well.
> Because the filname includes on windows the drive letter, I
> use document(concat('file:/',aFilename))
> This works fine with windows but when I move to Unix there
> occour an Error UnknownHostException

Unfortunately, constructing a URL from a filename in a way that works on all
platforms is much more complex than prepending 'file:/'.

Are you using a Unix absolute filename or a relative filename here?

I might be related to a bug in the reference implementation of JAXP 1.1.
I've recently discovered that this is fixed in the version of JAXP
distributed by apache but not in the version available from Sun, so I will
go steal the apache version.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread