[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: UnknownHostException

Subject: Re: UnknownHostException
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Tue, 30 Oct 2001 10:41:49 -0500
xalan unknownhostexception
[<bernwardhanssen@xxxxxx>]

>
> > file:///usr/docs/x.xml
> > David
>
> That works for UNIX.
> But file://D:\test.xml do not work for windows.
> There works
> file:///D:\test.xml and file:/D:\test.xsm
>

It depends on the processor (and sometimes on how it is invoked).
Theoretically there are supposed to be three slashes for a file on the local
machine, or "file://localhost/" - they are equivalent according to the RFC.

A single slash is not legal but many processors allow it because it is a
common error.

Whether the path separators should be changed from backslaches to forward
slashes is not made clear in the RFC.  If the path part of the URL is
considered to be "opaque", then they should remain backslashes.  If the path
is considered to be parsable, they should be changed.  How does your
processor consider them?  You have to try and see.

Furthermore, some processors erroneously insist on just a single slash after
the "file:".  Some act differently depending on whether you are invoking a
file on the command line or from within a stylesheet.

Cheers,

Tom P


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.