W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > November 2008

Re: YAUCI - Yet Another Unprefixed CURIE Idea [was Re: meeting record: 2008-11-06 RDF-in-XHTML Task Force]

From: Toby A Inkster <tai@g5n.co.uk>
Date: Fri, 7 Nov 2008 10:58:59 +0000
Message-Id: <6692E925-82EB-4B70-9766-15536457D3BE@g5n.co.uk>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

I wrote:

> Define yet another attribute, which I'm calling "object" for now,
> though probably a better name can be found. It works like "typeof",
> but has a side-effect of setting a default CURIE prefix for the
> element and any descendant elements.

Another thought: @object could, like @about and @resource, allow full  
URIs to be used, so the following would be equivalent:

	<div object="http://xmlns.com/foaf/0.1/Person">
	<div object="[foaf:Person]"> (assuming that xmlns:foaf had been set).

Of course, we'd need to spec what character to split on in these  
cases. Hash and slash are obviously the most common, but allowing  
question mark and equals sign might be good ideas too.

Toby A Inkster
Received on Friday, 7 November 2008 11:00:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:29 UTC