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

Re: DNS based URIs that don't imply access method


Re:  DNS based URIs that don't imply access method
Clark C. Evans scripsit:

> So.  I'm now asking if we should create a URI scheme with these
> properties.  Let's call it "pkg" for now, but any sufficiently 
> generic name should work.   Here is the proposal:
> 
>   - the scheme starts with "pkg://"
>   - next is a domain name in *small caps*
>   - optionally followed by:
>     - a slash '/'
>     - a standard httpish path per URI specification.
>   - no relative forms
>   - no fragments

This can be done today with "urn:publicid:IDN+domain.name:this:that:tother.
The only difference from what you specify is the : instead of /.  Relative
forms are not defined for URNs.

As for fragments, they are out of scope (not being part of the URI as such),
but you could certainly stipulate that they should not be used.

> Examples:
> 
>    pkg://clarkevans.com
>    pkg://clarkevans.com/data-type
>    pkg://clarkevans.com/2002/my-data

	urn:publicid:IDN+clarkevans.com
	urn:publicid:IDN+clarkevans.com:data-type
	urn:publicid:IDN+clarkevans.com:2002:my-data

One problem with this is that you might lose control of the clarkevans.com
domain, and the new owner might repudiate or redefine your URNs.
The newsml URN scheme, though not prescribing a hierarchy, avoids this problem:

	urn:newsml:clarkevans.com:20020725:root:1
	urn:newsml:clarkevans.com:20020725:data-type:1
	urn:newsml:clarkevans.com:20020725:2002;my-data:1

Here the 1 is a version number you can increment if the thing referred
to by the URN (if there is one) changes, and the 20020725 means that
on that date you were in control of the clarkevans.com domain -- you do
not have to update this with every day that passes; indeed, you can pick
one such day as a fixed value.

-- 
There is / One art                      John Cowan <jcowan@r...>
No more / No less                       http://www.reutershealth.com
To do / All things                      http://www.ccil.org/~cowan
With art- / Lessness                     -- Piet Hein

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.