RE: Updating RDFa_GRDDL stylesheet - progress report

Fabien,

Good to see you're making progress ;)

Regarding the TC you may be happy to hear that
there are less issues as it may look in the first place.

Just to make sure we're talking about the same document -
(saw you're referring to eg. sec 5.1.2.1 which does not
exists in the newest Syntax doc):

http://www.w3.org/MarkUp/2007/ED-rdfa-syntax-20070906/

is the good place to look at, and there, mainly sec. 4!

So to make life easier, I suggest you take a look at

http://www.w3.org/2006/07/SWD/wiki/RDFaTC

There at the very beginning, you have a link that lists
the APPROVED TC ('list approved Test Cases ...') - some
of the TC you're having troubles with are actually on hold.

Regarding the literal/values/datatypes - thess seem 
correct to me, looking at [1].

In case you want some further support, just shout out :)

Cheers,
	Michael

BTW: I'm as well available on skype as 'mhausenblas'

[1] http://www.w3.org/2006/07/SWD/wiki/RDFa/LiteralObject


----------------------------------------------------------
 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
 Steyrergasse 17, A-8010 Graz, AUSTRIA
---------------------------------------------------------- 

> -----Original Message-----
> From: Fabien Gandon [mailto:Fabien.Gandon@sophia.inria.fr] 
> Sent: Sunday, September 09, 2007 5:59 PM
> To: martin@weborganics.co.uk; Ivan Herman; Hausenblas, 
> Michael; Shane McCarron; public-rdf-in-xhtml-tf.w3.org; Ben 
> Adida; Dave Beckett
> Subject: Updating RDFa_GRDDL stylesheet - progress report
> 
> Hello,
> 
> I am working on a new version of the RDFa_GRDDL stylesheet.
> So far it integrates:
>  - differences I found running a diff between my latest 
> version and the version Dave Beckett sent me
>  - new attributes and associated tests: resource, src
>  
> 
> However I have a number of questions concerning the current 
> test suite:
> http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/
> 
> 
> Tests 0001, 0002, 0003, 0020, 0021, 0022, 0023, 0024, 0025, 0033:
> I failed these tests because the SPARQL query does not specify the 
> datatype. My reading of section 5.1.1 of the syntax document 
> is that in 
> these cases the literal value (e.g. "Mark Birbeck", "Ben 
> Adida") should 
> be typed rdf:XMLLiteral since it is not in a "content" 
> attribute. E.g. 
> for test 0001 I produce this triple but fail the corresponding ASK:
> <rdf:Description 
> rdf:about="http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1
> -testcases/photo1.jpg">
> <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/" 
> rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLi
teral">Mark 
> Birbeck</dc:creator>
> </rdf:Description>
> 
> Unless I am mistaken, the SPARQL queries of these tests should either 
> specify the datatype or use the string function of SPARQL to 
> filter the 
> value independently from the datatype.
> (NB: in section "5.1.2.1. Literal from string value of meta" 
> the example 
> does not correspond to a tag "meta")
> 
> 
> Test 0011:
> 1, In my understanding "Albert Einstein" should be typed 
> rdf:XMLLiteral
> 2, Instead of generating
>   E = mc<sup>2</sup>: The Most Urgent Problem of Our Time
> I generate:
>   E = mc<sup xmlns="http://www.w3.org/1999/xhtml" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2</sup>:
>  The Most 
> Urgent Problem of Our Time
> 
> Any opinion on this second case? (apart from the fact that 
> xmlns:xsi=... 
> is useless)
> 
> 
> Test 0028: I fail because I interpret the attribute datatype="" as an 
> XMLLiteral datatype ; I couldn't find in the specs what the 
> empty string 
> should represent for a datatype
> 
> 
> Test 0029: I fail the test because the ASK specifies an 
> additional space 
> in the literal value "Mark Birbeck " which I don't have since I 
> normalize embedded text when they have a datatype.
> 
> 
> In addition if there have been any changes of the spec lately that I 
> should be aware of please do not hesitate to mention them.
> 
> Cheers,
> 
> -- 
> Fabien - http://ns.inria.fr/fabien.gandon/
> 

Received on Sunday, 9 September 2007 18:11:52 UTC