W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > January 2002

Fwd: Re: rdf-ns-prefix-confusion

From: Graham Klyne <GK@ninebynine.org>
Date: Tue, 15 Jan 2002 11:26:23 +0000
Message-Id: <>
To: RDF core WG <w3c-rdfcore-wg@w3.org>
Responding to the debate in www-rdf-interest...

> > XML Namespace defines that unqualified attributes do not share
> > the namespace of their element - so 'about' here has no relationship
> > to the element (which is namespace prefixed, although I'm using the
> > defult one here).
>Yes it does.  The element is the owner element of the attribute.  This is 
>enough for any half-decent tool to treat it as the (original) RDF spec

I'm personally agnostic about this matter, but it occurs to me that we 
*could* allow unprefixed ID=, about= and resource= attributes, and others, 
within elements whose name is associated with the RDF namespace without 
creating any ambiguity.

My reasoning, supported in part by the (non-normative) appendix A.2 of XML 
namespace spec, is that the meaning of such attributes can be defined by 
the element in which they appear.

Thus, we can define that for all element types in the RDF namespace, the 
appearance of an ID= attribute will be regarded as equivalent to rdf:ID=, 
about= equivalent to rdf:about=, resource= equivalent to rdf:resource=, etc.

But I think it's important that the qualifying prefix be retained when 
these attributes are used in non-RDF elements, as when using a class name 
in place of rdf:Description, etc, and most property elements.

Just a thought...


Graham Klyne
Received on Tuesday, 15 January 2002 08:09:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:08 UTC