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

Re: Prospero and other URLs with // in path


xml escape slash
Elliotte Rusty Harold <elharo@m...> writes:

 > RFC 1738 describes Prospero URLs that look like this:
 > 
 > prospero://host.dom//pros/name
 > 
 > RFC 1738 is explicit that the double slash at the beginning of the
 > path is allowed.
 > 
 > 
 > In RFC 2396 and RFC 2396bis, these appear to now be illegal. Is this
 > correct? Or am I misreading the BNF somehow? Are there any URI scheme
 > besides Prospero where this is likely to be an issue?

I'd agree with your reading of 1738 and 2396.

Another scheme that comes to mind is FTP.  RFC 1738 explicitly says in
3.2.2 that a slash that is part of a <cwd> element must be escaped.

Extrapolating, RFC 2396 implies that the original URL is not a valid
URI and should be rewritten as:

prospero://host.dom/%2Fpros/name

The introduction of 2396 has this disclaimer:

   This document updates and merges "Uniform Resource Locators"
   [RFC1738] and "Relative Uniform Resource Locators" [RFC1808] in order
   to define a single, generic syntax for all URI.  It excludes those
   portions of RFC 1738 that defined the specific syntax of individual
   URL schemes; those portions will be updated as separate documents, as
   will the process for registration of new URI schemes.

-- 
Pete Forman                -./\.-  Disclaimer: This post is originated
WesternGeco                  -./\.-   by myself and does not represent
pete.forman@w...    -./\.-   opinion of Schlumberger, Baker
http://petef.port5.com           -./\.-   Hughes or their divisions.


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.