RE: Error in one of the tests (was Re: pyRdfa and the RDFa Test Suite)

Ivan,

Thanks for this information. We'll certainly have to go through
ALL Test Cases again and check if they are still in-line with the 
RDFa Syntax. I'm happy to take an action on this, as soon as the 
RDFa Syntax is declared to be stable ....

For now, I just can ask everyone ONLY to use TC that are approved
(not on-hold or rejected).

Please remember that the only authoritative source is the
RDFa Test Case Manifest [2] ...

I've put together queries that would give you a snapshot of the
current TC status (called shortcuts at [1]):

To list the approved TC:
http://sparql.org/sparql?query=prefix+xsd%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F2001%2FXMLSchema%23%3E%0D%0Aprefix+rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0Aprefix+rdfs%3A+%3Chttp%3A%2F%
2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0Aprefix+t%3A+%3Chttp%3A
%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23%3E%0D%0Aprefix+dc%3A+
%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0A%0D%0A%0D%0ASE
LECT+*%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F07%2FSWD%2FRDFa%2Ft
estsuite%2Fxhtml1-testcases%2Frdfa-xhtml1-test-manifest.rdf%3E%0D%0AWHER
E+%7B%0D%0A%09%3FTestCase+a+t%3ATestCase+%3B%09%0D%0A%09++++t%3AreviewSt
atus+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23approve
d%3E+%3B%0D%0A%09++++dc%3Atitle+%3FTitle+%3B%0D%0A%09++++t%3Apurpose++%3
FPurpose+.%0D%0A%7D%0D%0AORDER+BY+%3FTestCase+&default-graph-uri=&styles
heet=%2Fxml-to-html.xsl

To list TC on-hold:
http://sparql.org/sparql?query=prefix+xsd%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F2001%2FXMLSchema%23%3E%0D%0Aprefix+rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0Aprefix+rdfs%3A+%3Chttp%3A%2F%
2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0Aprefix+t%3A+%3Chttp%3A
%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23%3E%0D%0Aprefix+dc%3A+
%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0A%0D%0A%0D%0ASE
LECT+*%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F07%2FSWD%2FRDFa%2Ft
estsuite%2Fxhtml1-testcases%2Frdfa-xhtml1-test-manifest.rdf%3E%0D%0AWHER
E+%7B%0D%0A%09%3FTestCase+a+t%3ATestCase+%3B%09%0D%0A%09++++t%3AreviewSt
atus+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23onhold%
3E+%3B%0D%0A%09++++dc%3Atitle+%3FTitle+%3B%0D%0A%09++++t%3Apurpose++%3FP
urpose+.%0D%0A%7D%0D%0AORDER+BY+%3FTestCase&default-graph-uri=&styleshee
t=%2Fxml-to-html.xsl

To list unreviewed TC:
http://sparql.org/sparql?query=prefix+xsd%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F2001%2FXMLSchema%23%3E%0D%0Aprefix+rdf%3A++%3Chttp%3A%2F%2Fwww.w3.org
%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0Aprefix+rdfs%3A+%3Chttp%3A%2F%
2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E+%0D%0Aprefix+t%3A+%3Chttp%3A
%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23%3E%0D%0Aprefix+dc%3A+
%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E%0D%0A%0D%0A%0D%0ASE
LECT+*%0D%0AFROM+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F07%2FSWD%2FRDFa%2Ft
estsuite%2Fxhtml1-testcases%2Frdfa-xhtml1-test-manifest.rdf%3E%0D%0AWHER
E+%7B%0D%0A%09%3FTestCase+a+t%3ATestCase+%3B%09%0D%0A%09++++t%3AreviewSt
atus+%3Chttp%3A%2F%2Fwww.w3.org%2F2006%2F03%2Ftest-description%23unrevie
wed%3E+%3B%0D%0A%09++++dc%3Atitle+%3FTitle+%3B%0D%0A%09++++t%3Apurpose++
%3FPurpose+.%0D%0A%7D%0D%0AORDER+BY+%3FTestCase&default-graph-uri=&style
sheet=%2Fxml-to-html.xsl

Cheers,
	Michael

[1] http://www.w3.org/2006/07/SWD/wiki/RDFaTC
[2]
http://www.w3.org/2006/07/SWD/RDFa/testsuite/xhtml1-testcases/rdfa-xhtml
1-test-manifest.rdf

----------------------------------------------------------
 Michael Hausenblas, MSc.
 Institute of Information Systems & Information Management
 JOANNEUM RESEARCH Forschungsgesellschaft mbH
  
 http://www.joanneum.at/iis/
----------------------------------------------------------
 

>-----Original Message-----
>From: Ivan Herman [mailto:ivan@w3.org] 
>Sent: Saturday, October 13, 2007 1:58 PM
>To: Hausenblas, Michael
>Cc: Ed Summers; public-rdf-in-xhtml-tf@w3.org
>Subject: Error in one of the tests (was Re: pyRdfa and the 
>RDFa Test Suite)
>
>Michael,
>
>I looked at the test entry where pyRdfa really failed, and I realized
>that the test is on hold but should also be rejected. Indeed, it uses
>the form:
>
><link about="[_:a]" rel="foaf:knows" href="[_:b]" />
>
>which is, afaik, wrong. The syntax defines @href as a URI, and not a
>URIorCURIE. Ie, for the test above to be o.k., @resource should be used
>and not @href...
>
>Ivan
>
>Ivan Herman wrote:
>> Hi Ed,
>> 
>> (Michael, I explicitly copy you because there are issues/questions
>> regarding the test cases that should be settled; thanks to Ed for
>> bringing these to the fore!)
>> 
>> This is a useful addition! I have stored your setup files 
>and others on
>> my local disc. My problem for now is that the changes in pyRdfa are
>> still way too frequent to make it so full packaged with 
>proper versions.
>> I would like to do that when both the syntax document and the
>> implementation becomes a bit more stable and I will 
>certainly used that
>> setup at that point! Thanks!!!!
>> 
>> Of course, you touched on my own vanity:-) and I looked at the tests
>> that did not work, running them manually one-by-one. _My_ overall
>> judgement is, however, that most of the problems are related to the
>> SPARQL (I may be wrong, of course!). Indeed, except for a few cases
>> (noted below) my claim is that the pyRDFa is fine and conform to the
>> test; in my view, the SPARQL processor should have accepted it.
>> 
>> There may be two problems/reasons:
>> 
>> - a genuine SPARQL error on our tests. Did we ever checked 
>those with a
>> processor, in fact?
>> 
>> - problems with RDFlib's SPARQL parser or implementation. A 
>few words on
>> that one: the irony is that the 'core' SPARQL processing in 
>rdflib is my
>> making... But then, lack of time, I never made a parser for 
>the SPARQL
>> language itself. Others did that, but because they used a 
>binary parser,
>> I could never run that on my windows machine... But the latest SPARQL
>> test results (that the DAWG is preparing of the Proposed 
>Recommendation
>> phase of SPARQL) reveals that there are some more genuine 
>problems with
>> it...
>> 
>> I would probably prefer to run the results on a more reliable SPARQL
>> implementation, eg, sparqler... Maybe my simple interface to 
>SPARQL[1]
>> may help in that.
>> 
>> Another comment: the test cases include a number of tests which are
>> either not yet approved or, worse, rejected and/or on hold. Note to
>> Michael: it might be a good idea to remove these from the manifest at
>> some point...
>> 
>> Thanks again Ed,
>> 
>> Ivan
>> 
>> [1]
>> 
>http://ivanherman.wordpress.com/2007/07/06/sparql-endpoint-inte
rface-to-python/
>> 
>> P.S. Just for completeness, my remarks below. All others 
>either pass or,
>> again in my view, have SPARQL problems...
>> 
>>> --
>>>
>>> test_0004 (test.XhtmlTests) ... FAIL
>> 
>> Test is on hold but, in fact, to be removed/rejected. We 
>decided not to
>> use @xml:base
>> 
>>> test_0005 (test.XhtmlTests) ... FAIL
>> 
>> Test is rejected
>> 
>>> test_0011 (test.XhtmlTests) ... FAIL
>> 
>> There is a pending question (in my mind at least) whether XMLLiterals
>> should be "canonicalized" or not. This is the reason of the 
>failure: I
>> copy the XML Literal verbatim, whereas the test canonicalizes it.
>> 
>>> test_0017 (test.XhtmlTests) ... FAIL
>> 
>> Although this test is marked as 'on hold', it looks reasonable to me.
>> But, indeed, it fails on pyRdfa, I will have to look into that...
>> 
>>> test_0022 (test.XhtmlTests) ... FAIL
>> 
>> This is unreviewed, but is definitely to be rejected. We 
>decided not to
>> use @id.
>> 
>
>-- 
>
>Ivan Herman, W3C Semantic Web Activity Lead
>Home: http://www.w3.org/People/Ivan/
>PGP Key: http://www.ivan-herman.net/pgpkey.html
>FOAF: http://www.ivan-herman.net/foaf.rdf
>

Received on Monday, 15 October 2007 08:08:13 UTC