W3C home > Mailing lists > Public > www-tag@w3.org > January 2004

Re: Use cases for relative URIs as namespace names

From: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Date: Sat, 31 Jan 2004 14:32:44 -0500
Message-Id: <p06010204bc41b2e43a8f@[192.168.254.4]>
To: Tim Berners-Lee <timbl@w3.org>
Cc: Philippe Le Hegaret <plh@w3.org>, www-rdf-comments@w3.org, 'www-tag@w3.org' <www-tag@w3.org>

At 12:06 PM -0500 1/31/04, Tim Berners-Lee wrote:

>  followed by a URI-encoding of the XML for  "What is cost of part number 4?"
>
>	http://example.com/customer?<query 
>xmlns:="./"><number>4</number><cost>?</cost></query>

I don't see why in this use case the query namespace must be related 
to the actual host name. Why not use

http://example.com/customer?<query 
xmlns:="http://www.example.com/query-namespace"><number>4</number><cost>?</cost></query>

regardless of the host name? The existing scheme seems quite fragile. 
Does the query fail if I access the database via literal IP address 
instead of host name? Or if I use an alias?


-- 

   Elliotte Rusty Harold
   elharo@metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA
Received on Saturday, 31 January 2004 14:46:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:23 GMT