earl:Testcase and earl:testcase

On Tue, 28 Oct 2003, Chris Ridpath wrote:

>> ...uses a made-up namespace interpretation of WCAG.
>>
>This looks a bit strange to me. Should this sort of information be in the
>Testcase?

Hmm. The simplest approach is to say

<earl:Assertion rdf:about="#thisClaim">
  <earl:testcase rdf:resource="http;//example.com/test#def"/>
  <earl:result ...

This means that if you want to know more about the test then you have to go
look it up on the semantic Web. This isn't such a big deal - maybe I would
have been smarter to do it like this, but it is handy for me doing
Xforms-based stuff to have the info there.

Essentially it says

the Assertion #thisClaim (i.e. based on the URI of the assertion document)
has a testcase identified as http://example.com/test#def

This might or might not be a URI that really has a testcase at the end of
it, but it would be better if it was at least in some way ;-)

In my example below I have complicated life, saying

the Assertion has a testcase, that is a thing of type TestCase. Then it goes
on to describe the TestCase in question - an identifier for it, a dublin core
title, a property called wcag:priority (which was made up by me despite
lacking any authority over the URI that the namespace points to - possibly a
bad practice) and there could be other things like a spanish version of the
property.

It's a part of RDF that I have to add the extra "stripe" to be able to talk
further about it. If you use a graphic-based authoring tool or test your
files with the RDF vaidator it is pretty straightforward to get used to it.

technically testcase is a property and TestCase is a class.

cheers

Chaals

more completely (but with stuff still snipped out)...
On Tue, 28 Oct 2003, Chris Ridpath wrote:

>> ...uses a made-up namespace interpretation of WCAG.
>>
>This looks a bit strange to me. Should this sort of information be in the
>Testcase?
>
>
>> For the Testcase I have added a dc:title...
>>
>OK. Makes the Testcase clearer.
...
>>   <earl:Assertion rdf:about="#wcag1cp1.1">
>>    <earl:subject rdf:resource="#subject"/>
>>    <earl:message>an example of something listed as passing</earl:message>
>>     <earl:result
>> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#pass"/>
>>     <earl:mode
>> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#manual"/>
>>     <earl:testcase>
>>       <earl:TestCase
>> rdf:about="http://www.w3.org/TR/WCAG10/#tech-text-equivalent">
>>         <wcag:priority
>> rdf:resource="http://www.w3.org/TR/WCAG10/#wc-priority-1"/>
>>         <dc:title>1.1  Provide a text equivalent for every non-text
>element
>> </dc:title>
>>       </earl:TestCase>
>>     </earl:testcase>
>>     <earl:assertedBy rdf:resource="#assertor"/>
>>   </earl:Assertion>

Received on Tuesday, 28 October 2003 16:59:27 UTC