W3C home > Mailing lists > Public > public-grddl-wg@w3.org > April 2007

Re: hGRRDL for hCard: test case of a GRDDL transformation to produce RDFa from hCards

From: Jeremy Carroll <jjc@hpl.hp.com>
Date: Thu, 19 Apr 2007 13:12:42 +0100
Message-ID: <46275CBA.10102@hpl.hp.com>
To: Shane McCarron <shane@aptest.com>
CC: Fabien Gandon <Fabien.Gandon@sophia.inria.fr>, GRDDL Working Group <public-grddl-wg@w3.org>, public-rdf-in-xhtml-tf@w3.org

I've copied the test data into the test area, correcting mimetype info



I think this clarifies why the unknown-media-type test is informative.

It seems to me that:
a) the GRDDL spec normatively declares what to do with 
application/rdf+xml output from an XSLT transform

Any other mimetype MAY be processed by a GRDDL-aware agent.

We now have three tests exhibiting this:

- turtle     parse as triples
- unknown    do nothing
- text/html  do GRDDL process

Note that the last, even though it is GRDDL is not required by the spec.


Shane McCarron wrote:
> Nice work!  Note that neither the source document in [1], nor the 
> generated xhtml+rdfa in [2], are quite valid.  The first is missing a 
> DOCTYPE declaration, and the second is missing the DOCTYPE with an 
> internal subset to declare the additional xmlns attributes.  (We know 
> that is inelegant and are working on it, but in the interests of having 
> test cases be valid...)
> [1] 
> http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCard.html 
> [2] 
> http://www-sop.inria.fr/acacia/personnel/Fabien.Gandon/tmp/grddl/hGRDDL/hCardRDFa.html 
> If you need assistance making these documents valid XHTML, please let me 
> know.

Hewlett-Packard Limited
registered Office: Cain Road, Bracknell, Berks RG12 1HN
Registered No: 690597 England
Received on Thursday, 19 April 2007 12:13:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:39:11 UTC