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

Re: Slash character in rdf:ID

From: Graham Klyne <GK@ninebynine.org>
Date: Sat, 28 Feb 2004 14:46:38 +0000
Message-Id: <>
To: "Eric Jain" <Eric.Jain@isb-sib.ch>, "rdf-interest" <www-rdf-interest@w3.org>

 From memory... I believe the answer to your question is "no" ... that the 
syntax of an rdf:ID attribute content is restricted to that defined by XML 
namespaces for 'ncname' -- roughly, that which is allowed in an XML element 
of attribute name, excluding the colon (':') character.


At 15:16 28/02/04 +0100, Eric Jain wrote:

>Is one allowed to use slashes in an rdf:ID?
>   <owl:Class rdf:ID="foo/Bar"/>
>The intended interpretation is that "foo/Bar" is a local name, in the
>namespace defined by xml:base. I suspect that some tools may get into
>trouble when trying to describe instances without using an rdf:type
>   <foo/Bar rdf:ID="b1"/>

Graham Klyne
For email:
Received on Saturday, 28 February 2004 10:05:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:50 UTC