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

Re: typing the input from within xslt

Subject: Re: typing the input from within xslt
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Nov 2008 17:26:06 +0000
Re:  typing the input from within xslt
>>>>> "Owen" == Owen Rees <owen.rees@xxxxxx> writes:

    Owen> --On Tuesday, November 04, 2008 15:14:49 +0000 Colin Paul Adams wrote:
    >> I agree with both those statements.
    >> It is still non-conformant, and I don't think you should do
    >> this.

    Owen> As far as I have been able to discover, RFC1738 is still the
    Owen> one that contains the current definition of the file URL
    Owen> scheme.

Yes, i think so too.

    Owen> The syntax explicitly allows both "?" and "=" in 'fsegment'

    Owen> from which fpath' is formed. The file scheme does not have a
    Owen> query string because what looks like a query string
    Owen> according to the generic URI syntax is actually part of the
    Owen> file path.

Ouch! That means you can have URIs that contradict the generic syntax:


In which case I was wrong (maybe).

It goes on later to say:

   A file URL takes the form:


   where <host> is the fully qualified domain name of the system on
   which the <path> is accessible, and <path> is a hierarchical
   directory path of the form <directory>/<directory>/.../<name>.

which might be interpreted to mean that ? and # are allowed as part of
the component names, and NOT to indicate query parameters and a
fragment id.

in which case I wasn't wrong.
This is surely the case for the ftp scheme, since the optional
;type=<filetype> comes at the end, so I think this is the intended representation.

    Owen> There is scope for some chaos there ... 

and almost everywhere with file URIs. I remember there has been at
least one attempt to just document existing practise, which proved to
be too difficult.

    Owen> (how many relative URI resolvers have the correct special case for file
    Owen> scheme?)

Close to none, I should think.
Colin Adams
Preston Lancashire

Current Thread


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.
First Name
Last Name
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.