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

Re: Windows URLs

Subject: Re: Windows URLs
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 04 Nov 2004 13:27:25 +0000
uri for windows file names
>>>>> "Michael" == Michael Kay <mike@xxxxxxxxxxxx> writes:

    Michael> There are no rules. The "file:" URI scheme appears to be
    Michael> very poorly documented, and its mapping onto various
    Michael> operating system file naming schemes is even less well
    Michael> documented.

That was the impression I got.

    Michael> some useful notes at

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

    Michael> and

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

Thanks for those.

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

Now that surprises me. I was expecting an answer like David Carlisle
gave:

file://server/file/name

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

You mean like in xsl:import href attribute? I think not.

My concern is allowing file names on a command line, and converting
them to URLs, which I think you already do with Saxon.
-- 
Colin Paul Adams
Preston Lancashire

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.