- From: McBride, Brian <brian.mcbride@hp.com>
- Date: Tue, 12 Dec 2006 09:11:52 -0000
- To: <public-grddl-wg@w3.org>
I took an action from the last telecon to review testlist1#rdfa1 [2]
Caveats: I am not very familiar with RDF/A and have not run the
transform, so this 'review' is by inspection.
I note the result [3] contains
[[
<rdf:Description rdf:about="">
<transformation xmlns="http://www.w3.org/1999/xhtml"
rdf:resource="RDFa2RDFXML.xsl"/>
</rdf:Description>
]]
The rdf:about refers to the RDF document, which from my reading of the
latest (editors draft) RDF/A spec [4] is incorrect - see 4.3.3.1. It
should refer to the source document.
I note also that the property in this statement has a URI of
http://www.w3.org/1999/xhtmltransformation and is affected by the
default namespace in effect in the head of the source document. I think
the test case accurately reflects the spec, but that still looks a bit
broken to me.
The statement
[[
<rdf:Description
rdf:about="http://www.w3.org/TR/2004/REC-rdf-mt-20040210/">
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">RDF Semantics
- W3C Recommendation 10 February 2004</dc:title>
</rdf:Description>
]]
The RDF/A spec says the object of this property should be an XML literal
(see 4.4.1) and the RDF spec [5] says that XML literals and plain
literals are disjoint. I think this may be a problem with the RDF/A
spec.
I've run out of time - too many specs to read, but there is another
issue that I think I ought to raise. (Must you - do I hear?)
I'd like to see a separation between test cases and examples. I'd
prefer test cases that were small, simple, verifiable by inspection and
didn't carry any baggage such as "is this a correct interpretation of
the RDF/A spec". Our test cases are going beyond what the spec defines,
e.g. in illustrating practice for XSLT transforms - and Dan asked
recently whether they should be normative. Is it then a good idea to
include an RDF/A transform as a test case? Its relatively
straighforward to have a different class called examples - though some
work for someone to set it up.
Brian
[1] http://www.w3.org/2006/12/06-grddl-wg-irc
[2] http://www.w3.org/2001/sw/grddl-wg/td/testlist1#rdfa1
[3] http://www.w3.org/2001/sw/grddl-wg/td/rdf_sem-output.rdf
[4] http://www.w3.org/2006/07/SWD/RDFa/syntax/
[5] http://www.w3.org/TR/rdf-concepts/#section-XMLLiteral
Received on Tuesday, 12 December 2006 09:12:10 UTC