This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: UnknownHostException


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]