W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2004

RE: pound sign vs. slash as final URI delimiter

From: DuCharme, Bob (LNG-CHO) <bob.ducharme@lexisnexis.com>
Date: Mon, 16 Feb 2004 14:46:48 -0500
Message-ID: <FEF4858E8AB32D4EAC2CF2A7D85386EBE53336@lnxdayexch06b.lexis-nexis.com>
To: "'Victor Lindesay'" <victor@schemaweb.info>, www-rdf-interest@w3.org

Sure--if they represented the same thing, I wouldn't have to worry about
picking between them. I was trying to determine which of the two options is
preferable.

Bob

-----Original Message-----
From: www-rdf-interest-request@w3.org
[mailto:www-rdf-interest-request@w3.org]On Behalf Of Victor Lindesay
Sent: Monday, February 16, 2004 1:26 PM
To: www-rdf-interest@w3.org
Subject: RE: pound sign vs. slash as final URI delimiter


Bob wrote:
> Let's say I have a namespace 
> identified by the
> URI http://www.example.com/pathname. To identify the name foo 
> from that
> namespace, what are the pros and cons of identifying it with a URI of
> http://www.example.com/pathname/foo as opposed to
> http://www.example.com/pathname#foo?

Forgive me. I'm wearing XML specs.

But for our NCName 'foo', isn't the namespace for
http://www.example.com/pathname/foo
http://www.example.com/pathname/
and the namespace for:
http://www.example.com/pathname#foo
http://www.example.com/pathname#

Two foos surely?

'URI references which identify namespaces are considered identical when
they are exactly the same character-for-character.'
http://www.w3.org/TR/REC-xml-names/
Received on Monday, 16 February 2004 14:46:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:58 UTC