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

Re: URIs are simply names R


names r

----- Original Message -----
From: "Patrick Stickler" wrote:
> >
> > Again, the "data:" scheme is designed to do exactly this. For example
> > suppose the URI:
> >
> > http://example.org/TheEiffelTower
> >
> > which when GET'd returns:
> >
> > "this is a description of the Eiffel Tower"
> >
> > and the URI (modulo escaping):
> >
> > "data:text/plain,this is a description of the Eiffel Tower"
>
> This is IMO a logical error. If the URI in question really does
> denote the physical object, the Eiffel Tower, then you should
> get 404 as (given present non-StarTrek technology) you cannot
> retrieve a physical object.
>

You are operating under basic misconceptions.

Let me clarify:

1. HTTP GET on an RFC 2396 URI returns an "entity" NOT a "resource"
2.An entity is a representation of a resource

(let's forget the "data" scheme for the moment until we understand the
basics)

Don't take my words as authoritative, rather let's actually read the
relevent RFCs.

RFC 2396: Uniform Resource Identifiers: http://www.ietf.org/rfc/rfc2616.txt

see definitions of the terms "resource" and  "entity"

HTTP: http://www.ietf.org/rfc/rfc2616.txt
[[
9.3 GET

   The GET method means retrieve whatever information (in the form of an
   entity) is identified by the Request-URI. If the Request-URI refers
   to a data-producing process, it is the produced data which shall be
   returned as the entity in the response and not the source text of the
   process, unless that text happens to be the output of the process.
]]

This discussion started in the context of the "REST" Architecture as
described in Fielding, R. 2000
http://www1.ics.uci.edu/~fielding/pubs/dissertation/top.htm

It would be helpful to read the relevent documents because there is really
no point in arguing what is "logical" when we are defining our basic terms
in a different fashion.

Jonathan


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.