RE: pound sign vs. slash as final URI delimiter

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