OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Best Practice for URI construction?

[ Lists Home | Date Index | Thread Index ]

bryan rasmussen wrote:
> The querystring, despite sometimes usage, is not according to
> specification for referring to different resources.
> 
> This http://www.location.org/US/MA?city=Boston
> 
> refers to US/MA
> 
> city=Boston is a property of US/MA.

What in the specification causes you to say that? According to RFC 3986, 
Section 3.4:

    The query component contains non-hierarchical data that, along with
    data in the path component (Section 3.3), serves to identify a
    resource within the scope of the URI's scheme and naming authority
    (if any).[1]

I read that as saying that the query part participates in identifying a 
resource just as much as the path does.

Perhaps you were thinking of the fragment identifier (the part after the 
'#')? Section 3.5 of the spec says:

    The fragment identifier component of a URI allows indirect
    identification of a secondary resource by reference to a primary
    resource and additional identifying information.  The identified
    secondary resource may be some portion or subset of the primary
    resource, some view on representations of the primary resource, or
    some other resource defined or described by those representations.

To me, that sounds closer to what you were saying.

Jim

[1] - http://www.ietf.org/rfc/rfc3986.txt




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS