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

RE: pound sign vs. slash as final URI delimiter

From: Victor Lindesay <victor@schemaweb.info>
Date: Mon, 16 Feb 2004 18:19:42 -0000
To: <www-rdf-interest@w3.org>
Message-ID: <000701c3f4b9$758bf720$92317ad5@vicsoft.co.uk>


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 13:26:06 UTC

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