W3C home > Mailing lists > Public > public-html@w3.org > December 2009

Re: ISSUE-76: If we fixed namespaces, does RDFa still have problems?

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 15 Dec 2009 20:41:21 +0000 (UTC)
To: Toby Inkster <tai@g5n.co.uk>
Cc: Henri Sivonen <hsivonen@iki.fi>, Manu Sporny <msporny@digitalbazaar.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0912152028360.18262@hixie.dreamhostps.com>
On Tue, 15 Dec 2009, Toby Inkster wrote:
> On Tue, 2009-12-15 at 17:20 +0200, Henri Sivonen wrote:
> > On Dec 14, 2009, at 03:29, Manu Sporny wrote:
> > > 
> > > Microdata:
> > > 
> > > <div itemscope>
> > > <p>My name is <span itemprop="name">Aryeh Gregor</span>.</p>
> > > </div>
> > > 
> > > RDFa:
> > > 
> > > <div about="#me" vocab="myvocab.html">
> > > <p>My name is <span property="name">Aryeh Gregor</span>.</p>
> > > </div>
> > > 
> > > or
> > > 
> > > <div about="#me" xmlns:myvoc="http://ficticious.url/vocab#">
> > > <p>My name is <span property="myvoc:name">Aryeh Gregor</span>.</p>
> > > </div>
> > 
> > Are these RDFa examples complete without an id="me" somewhere? That
> > is, is baseuri#me supposed to be an imaginary URL that doesn't
> > dereference to a node but is just talked about or is it supposed to
> > point to a node?
> 
> This is a question that's important, but orthogonal to RDFa (it applies 
> equally to, say, Microdata's itemid attribute).

In microdata, there's no question that the id="" attribute must be present 
if you want to refer to a part of the document in itemid="" -- if you 
don't, the URL isn't valid (it has a bogus fragment identifier).

However, in microdata I would rarely expect anyone to use itemid="" to 
point to an element in the same document, since it's not necessary for any 
of the use cases that were raised.

Also, note that in microdata the itemid="" attribute's meaning is defined 
by the vocabulary; it's not a generic attribute.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 15 December 2009 20:42:00 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:55 UTC