- From: Charles McCathieNevile <charles@w3.org>
- Date: Sun, 7 Dec 2003 17:40:33 -0500 (EST)
- To: Shadi Abou-Zahra <shadi@w3.org>
- Cc: 'Chris Ridpath' <chris.ridpath@utoronto.ca>, 'WAI ER IG List' <w3c-wai-er-ig@w3.org>
That bit isn't valid RDF. (It doesn't have any namespace associated with it) Have a look at my examples, where I give an english and a spanish name for each test (actually that's just so I can put them into the user interface, but it shows how to do what you're trying to do). You want to do something like <earl:testcase> <earl:TestCase rdf:about="http://tile-cridpath.atrc.utoronto.ca/tile/checks.html#check48"/> <dc:title xml:lang="en">Image may require a long description (LONGDESC).</dc:title> (Stritly speaking this isn't necessary - if you have an RDF version of your tests at that URI then you can define the title there, and it can be downloaded. But the other neat trick about doing it here is that I could instead say <earl:testcase> <earl:TestCase rdf:about="http://tile-cridpath.atrc.utoronto.ca/tile/checks.html#check48"/> <dc:title xml:lang="es">Quizas el imágen necesite una descripción (longdesc)</dc:title> And the EARL already says that I created this assertion, so I am noted as claiming this is an accurate translation - useful for QA stuff where you have a few people translating.) cheers Chaals On Sun, 7 Dec 2003, Shadi Abou-Zahra wrote: > >i'm having trouble resolving the check element: > ><check name="Image may require a long description (LONGDESC)." /> > >regards, > shadi > > >> -----Original Message----- >> From: w3c-wai-er-ig-request@w3.org >> [mailto:w3c-wai-er-ig-request@w3.org] On Behalf Of Chris Ridpath >> Sent: Freitag, 05. Dezember 2003 19:18 >> To: WAI ER IG List >> Cc: Nick Kew >> Subject: Re: EARL Testcase Clarification >> >> >> >> > Do you have a sample output file that you can link to directly? >> > >> Here is a sample assertion generated by the program: >> >> <?xml version="1.0" ?> >> - <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" >> xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#" >> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> >> - <earl:WebContent rdf:about="http://www.aprompt.ca/junk1.htm"> >> <earl:reprOf rdf:resource="http://www.w3.org/" /> >> </earl:WebContent> >> <earl:Assertion> >> <dc:date>2003-12-5T11:39:42-5</dc:date> >> <earl:Subject rdf:nodeID="/HTML" >> rdf:resource="http://www.aprompt.ca/junk1.htm" /> >> - <earl:result rdf:parseType="Resource"> >> <earl:validity rdf:resource="failed" /> >> <earl:confidence >> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#high" /> >> <earl:message>Document language not identified.</earl:message> >> </earl:result> >> <earl:mode >> rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#autom >> atically" /> >> - <earl:Testcase >> rdf:resource="http://tile-cridpath.atrc.utoronto.ca/tile/checks.html"> >> <earl:testId >> rdf:resource="http://tile-cridpath.atrc.utoronto.ca/tile/check >> s.html#check48 >> " /> >> </earl:Testcase> >> <earl:assertedBy >> rdf:resource="http://tile-cridpath.atrc.utoronto.ca/tile/Checkacc" /> >> </earl:Assertion> >> >> Here's what a user decision looks like: >> >> - <earl:Assertion> >> <dc:date>2003-12-4T11:22:48-5</dc:date> >> <earl:Subject rdf:resource="http://www.aprompt.ca/junk1.htm" /> >> - <earl:Testcase identifier="rex.gif" rdf:resource="/HTML/BODY/P/IMG"> >> <earl:testId rdf:resource="8" /> >> <check name="Image may require a long description (LONGDESC)." /> >> </earl:Testcase> >> <earl:result rdf:resource="pass" /> >> - <earl:assertedBy> >> - <earl:Person> >> <earl:name>Chris Ridpath</earl:name> >> <earl:email rdf:resource="chris.ridpath@utoronto.ca" /> >> </earl:Person> >> </earl:assertedBy> >> </earl:Assertion> >> >> We (Wendy, Sean) should remove or modify the example code at >> the EARL page to remove the earl:testid lines. >> >> I'm going to take a closer look at the EARL docs and brush up >> on my RDF before proceeding. >> >> Chris >> >> >> ----- Original Message ----- >> From: "Charles McCathieNevile" <charles@w3.org> >> To: "Chris Ridpath" <chris.ridpath@utoronto.ca> >> Cc: "Nick Kew" <nick@webthing.com>; "'WAI ER IG List'" >> <w3c-wai-er-ig@w3.org> >> Sent: Thursday, December 04, 2003 4:40 PM >> Subject: Re: EARL Testcase Clarification >> >> >> > >> > Do you have a sample output file that you can link to directly? >> > >> > Actually, the testId property that you use appears in an >> example, but >> > it seems that the specification doesn't work like that - it >> defines a >> testCase >> > property (as well as a TestCase class) and the schema repeats this, >> > but >> there >> > is no testId defined. >> > >> > My understanding is that the TestCase class can be used >> where you want >> > to describe a TestCase instead of just assuming that it is already >> > defined somewhere else, but that there is nothing that suggests a >> > TestCase is some kind of container. >> > >> > see >> http://www.w3.org/2001/sw/Europe/200305/axform> s/earlinst.rdf >> for >> > some sample data that demonstrates what I mean. >> > >> > (I think the ability to define how several tests can imply >> conformance >> > to another requirement is a crucial piece of a complete EARL >> > specification, >> but >> > I don't think that is what TestCase does). >> > >> > Cheers >> > >> > Chaals >> > >> > Charles McCathieNevile http://www.w3.org/People/Charles tel: +61 409 134 136 SWAD-E http://www.w3.org/2001/sw/Europe fax(france): +33 4 92 38 78 22 Post: 21 Mitchell street, FOOTSCRAY Vic 3011, Australia or W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Sunday, 7 December 2003 17:40:34 UTC