W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > January 2011

RDFa Core Review: Specification Structure

From: Jeni Tennison <jeni@jenitennison.com>
Date: Thu, 6 Jan 2011 12:21:34 +0000
Message-Id: <8FBB0DDE-3AC3-4E19-B03C-556E35203B7B@jenitennison.com>
To: W3C RDFa WG <public-rdfa-wg@w3.org>
Hi,

Reviewing the RDFa Core Last Call Working Draft at:

  http://www.w3.org/TR/2010/WD-rdfa-core-20101026/

My final general point is an editorial one: the spec contains the same (or similar) information in multiple places, and this can make it hard to work out where to look for given information and may mean that there are inconsistencies which are hard to identify.

There are three specific cases where this is particularly bad.

First, information about CURIEs is available in:

  * Section 3.8 Compact URIs (under 'RDF Terminology')
  * Section 6 CURIE Syntax Definition
  * Section 7.4 CURIE and URI Processing

It would be good to integrate these, or at least the second two, into a single section.

Second, information about the content of the different attributes is available in:

  * Section 5 Attributes and Syntax
  * Section 7.4.4 Use of CURIEs in Specific Attributes
  * Section 8 RDFa Processing in Detail

as well as being implicitly scattered in Section 7.5 Sequence. I would like to see the normative definitions of the types of values accepted by the attributes in only one place (probably Section 5).

Finally, information about how to process RDFa documents is defined in both:

  * Section 7.5 Sequence
  * Sectio 8 RDFa Processing in Detail

When I was implementing RDFa 1.0, I found this particularly problematic. I ended up trusting Section 7.5 (or whatever it was then) and ignoring Section 8. What I would like to see is one of these sections becoming non-normative, so that there is a single authoritative place within the spec that defines how to process RDFa.

FWIW, I generally prefer a declarative definition to a procedural one, but Section 8 is written more as a sequence of examples than a detailed definition of RDFa processing, so of the two I think that it should be the one made non-normative.

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Thursday, 6 January 2011 12:22:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 04:55:08 GMT