|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Best Practice for URI construction?
Perhaps a better approach is to ask how people or software expect - or should expect - URLs to behave (when dereferenced) when they are modified in some way. I recall some PhD research on this (someone from University of Victoria, I believe, about 8 years ago, but I can't recall the author's name). One observation/result was that a substantial fraction of users expect truncating a URL at 'natural' places to return meaningful results. This, for example, is one of the intuitive 'search' algorithms people use when a link doesn't work. As an example, if http://somewhere.org/US/IL/ is a valid URL, then truncating this to http://somewhere.org/US/ should both work and provide meaningful information. Similarly a person would expect: http://somewhere.org/US/?st=IL To degrade naturally when truncated to http://somewhere.org/US/ However, if you have complicated name/value pairs in the URL query string: http://somewhere.org/?st=IL&co=US Then (if I remember correctly) there is no natural truncation, since there is no natural hierarchy in the order of query string data. Users tend to just chop off the entire query string, and try what's left. The research had a lot of other interesting observations ... just can't recall what they were.... and can't find the paper or remember then name of the woman who did the work ... Ian Michael Kay wrote: >>Doesn't that beg the question of whether these things are resources at >>all, given that resources appear to be defined as "objects on the >>Internet" by Tim B-L in RFC 1630? > > > If we confined ourselves to objects on the internet, life would be much > easier. Unfortunately, a lot of people seem to be keen on using URIs to > identify objects in the real world. > > Michael Kay > http://www.saxonica.com/ > > > > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php> > -- Ian Graham H: 416.769.2422 / W: 416.513.5656 / E: <ian . graham AT utoronto . ca>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








