W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: GRDDL (and the rule of least power)

From: Dan Connolly <connolly@w3.org>
Date: Wed, 06 Aug 2008 10:50:06 -0500
To: Henri Sivonen <hsivonen@iki.fi>
Cc: Julian Reschke <julian.reschke@gmx.de>, Toby A Inkster <tai@g5n.co.uk>, Justin James <j_james@mindspring.com>, public-html@w3.org
Message-Id: <1218037806.6785.589.camel@pav.lan>

On Wed, 2008-08-06 at 11:12 +0300, Henri Sivonen wrote:
> >> I'm not sure if abusing HTML is the right characterization, but the  
> >> GRDDL setup violates the The Rule of Least Power TAG Finding.
> >> http://www.w3.org/2001/tag/doc/leastPower
> >
> > I'm not sure how using XSLT 1.0 violates that finding (please  
> > elaborate);
> XSLT is in a more powerful language category than (scriptless) HTML or  
> any of the notations for RDF triples.

But XSLT is not being used to express hypertext documents
nor RDF graphs; it is being used to express a transformation
from one syntax to another. GRDDL is only violating
the rule of least power to the extent that it uses a 
turing-complete language where something simpler would do.
It's an open question whether something simpler would do
for expressing syntactic transformations.

Before GRDDL, a number of declarative approaches to
syntax transformation were explored, but
but before any of them covered an interesting part of the
use cases, XSLT got pretty widely deployed and
several implementors who were interested in this problem
of alternative RDF syntaxes were willing to support it.

The GRDDL spec goes on at length to acknowledge the
security implications of mobile code. Hmm... perhaps
it should have discussed the rule of least power
explicitly along the way.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Wednesday, 6 August 2008 15:50:29 UTC

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