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

RE: Windows URLs

Subject: RE: Windows URLs
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 4 Nov 2004 13:07:22 -0000
file url unc
> Seriously though, does anyone know what the rules are for file: URLs
> on Windows systems (i.e. how do you encode drive names and UNC paths
> (is that the right term for drives on other servers?) into a 
> file URL)?

There are no rules. The "file:" URI scheme appears to be very poorly
documented, and its mapping onto various operating system file naming
schemes is even less well documented. However, Dave Pawson has collected
together some useful notes at

http://www.dpawson.co.uk/xsl/sect4/uri.html

and

http://www.dpawson.co.uk/xsl/sect4/uriIncl.html

This doesn't actually address the UNC question, but I'm pretty sure that
conclusion when we last discussed it on the list was that the correct form
(i.e. the one most likely to work) was file:////server/file/name - yes, four
slashes.

Michael Kay
http://www.saxonica.com/

P.S. Does anyone think I ought to allow windows path names in places where
the spec requires a URI? I'm disinclined to do it, but it does give people a
problem moving to a product that enforces the rules strictly from one that
doesn't.

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.