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: <5.1.0.14.2.20040228144447.02f51c50@127.0.0.1>
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.

#g
--

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
>element:
>
>   <foo/Bar rdf:ID="b1"/>

------------
Graham Klyne
For email:
http://www.ninebynine.org/#Contact
Received on Saturday, 28 February 2004 10:05:51 UTC

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