Re: ISSUE: Using @id to set subject in RDFa

On Sat, 19 Nov 2011 13:02:24 -0500
Sebastian Heath <sebastian.heath@gmail.com> wrote:

> Using @id to set subject in RDFa

I think that this would get us into a bunch of technical arguments with
TAG.

	<section id="toby" typeof="foaf:Person">
	  <h1 property="foaf:name">Toby Inkster</h1>
	</section>

What does the URI <#toby> identify? A living person? An element in a
DOM? A chapter within a document? Some combination of those? In RDF
(and to a certain extent, web architecture in general) it's generally
considered pretty important that a URI must identify a single concept.

The following:

	<section id="about_toby" about="#toby" typeof="foaf:Person">
	  <h1 property="foaf:name">Toby Inkster</h1>
	</section>

avoids such muddiness.

Or you could use this:

	<section about="#toby" typeof="foaf:Person">
	  <h1 property="foaf:name">Toby Inkster</h1>
	</section>

In combination with some Javascript that takes a URL fragment and uses
it to focus and highlight some areas of the page.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Saturday, 19 November 2011 20:54:41 UTC