W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > August 2007

testing for negative results (action from 30 Aug telecon)

From: Ralph R. Swick <swick@w3.org>
Date: Thu, 30 Aug 2007 15:18:53 -0400
Message-Id: <>
To: public-rdf-in-xhtml-tf@w3.org

ACTION: Ralph ask Eric Prud'hommeaux if there's a clever way to write a variant of tests 34-36 without @rel [recorded in http://www.w3.org/2007/08/30-rdfa-minutes.html#action09]

The objective is to test that the implementation does *not* produce
triples (e.g. in the case of test 34') relating 




when the @rel attribute is omitted.

Eric suggests we could use

	<http://sw-app.org/mic.xhtml#i> ?p <http://sw-app.org/img/mic_2007_01.jpg> .

and check that the answer is 0.  (Eric actually suggested the
more general 'ASK WHERE { ?s ?p ?o }', but I pointed out that
we'd decided it was OK if an implementation produced more
triples than the RDFa specification demands, though I don't
think we've characterized expected limitations on any such
'extra' triples.)

Eric's suggestion would require us to add to our test manifest
a property for each test indicating whether the 'pass' result is
1 (as all the current tests are) or 0.
Received on Thursday, 30 August 2007 19:20:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:24 UTC