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

Re: URIs harmful


dereferenced uri
----- Original Message -----
From: "Tim Bray" <tbray@t...>
> Joshua Allen wrote:
>
> > On the other hand, it is exceedingly poor form to use identifiers from
> > the HTTP scheme for things which you don't intend to be dereferenced
> > (via HTTP synchronous GET, no less).
>
> You might be on to something here.
>
> How about for things that you don't have any representations for right
> now but plan to in the near future?  How about things that you don't
> have any way of representing right now, but you might someday?  What are
> some things that fall into the category "which you don't intend to be
> dereferenced"?  -Tim

There is nothing that says a resource cannot have more than one URI.  For
instance, suppose I have a new idea.  To distinguish it from all other ideas
I have, I assign the following URI to it:

idea://seairth.com/concept/perfectsmousetrap

The above URI only identifies a representation of the idea.  At this point,
I have such a rough idea that I can't even effectively explain it to anyone
else.  Later, I have enough of the idea to be able to type it into a file
and assign the following URI to it:

http://www.seairth.com/ideas/concept/perfectmousetrap.htm

This URI now points to a different representation of the same resource.  I
could have used the second URI all along, but it would have been able to be
dereferenced.  When I had something that could be dereferenced via http, I
assigned a new URI using the "http" scheme to allow the dereferencing.

The thing that struck me was what Joshua Allen alluded to his next post
(well, I think he was alluding to it) and what the above example
illustrates...

If we all start using strings that match URI's using the "http" scheme that
are not actually meant to be dereferenced/resolved/whatever, then we start
muddying the "http" scheme global namespace, where the "common" practice is
to be able to derereference URIs (ignoring server problems, etc.).  If you
muddy it enough, people stop paying attention to it.  After all, if you
attempted to go to the following URIs:

http://www.seairth.com/ideas/concept/perfectmousetrap.htm
http://www.seairth.com/smtp/perfectspamfilter
http://www.seairth.com/xml/schema/URI/

and none of them dereferenced (and they don't), how likely are you to
believe that

http://www.seairth.com/web/onx/onx.html

dereferenced (and it does)?

Sure, you could say that I am being extreme.  You could say that it's very
doubtful that there will ever be so many non-dereferencable http-scheme URIs
that this would ever be a problem.  And all I know is that, with as few of
these that *are* already out there, they are causing never-ending threads
like "URIs harmful".

---
Seairth Jacobs
seairth@s...


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.