- From: Sean B. Palmer <sean@mysterylights.com>
- Date: Mon, 19 Mar 2001 17:05:16 -0000
- To: <dd@w3.org>, <w3c-wai-er-ig@w3.org>
- Cc: <w3t-qa@w3.org>
> Here are Daniel's examples recast into Notation3 per my > ERT action item:- And here it is in XML RDF, thanks to CWM [1] :-) > 1) a web page fails a couple of wcag checkpoints <!-- Processed by Id: cwm.py,v 1.29 2001/02/28 20:45:26 timbl Exp --> <!-- using base file:earl1.n3--> <rdf:RDF xmlns="http://www.w3.org/2001/03/earl/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:myns="http://myns.org/#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2001/01/rdf-schema#"> <rdf:Description about="mailto:danield@w3.org"> <asserts parseType="Quote"> <webContent about="http://example.org/page#img[3]"> <myns:snapshot resource="http://store.com/example.org/page#img[3]"/> <rdfs:comment> alt text provided is just filename http://w3.org/tr/wcag#cp1.1, according to the test suite provided www.cast.org/bobby </rdfs:comment> <expectedResult>presence of alt text describing function</expectedResult> <lastModified parseType="Resource"> <dc:date>2001/01/01</dc:date> </lastModified> <testMode>manual</testMode> <testResult parseType="Resource"> <validity resource="http://www.w3.org/2001/03/earl/#fails"/> <confidence>high</confidence> </testResult> </webContent> </asserts> </rdf:Description> <rdf:Description about="mailto:danield@w3.org"> <asserts parseType="Quote"> <webContent about="http://example.org/page#name"> <myns:snapshot resource="http://store.com/example.org/page#name"/> <rdfs:comment>use a font instead of h3 http://w3.org/tr/wcag#cp2.1, according to the test suite provided www.cast.org/bobby </rdfs:comment> <expectedResult>use proper structure instead of style</expectedResult> <lastModified parseType="Resource"> <dc:date>2001/01/01</dc:date> </lastModified> <testMode>manual</testMode> <testResult parseType="Resource"> <validity resource="http://www.w3.org/2001/03/earl/#fails"/> <confidence>medium</confidence> </testResult> </webContent> </asserts> </rdf:Description> <rdf:Description about="mailto:danield@w3.org"> <plarform>linux</plarform> <plarform>netscape 4.75</plarform> <when parseType="Resource"> <dc:date>2001/03/14</dc:date> </when> </rdf:Description> </rdf:RDF> > 2) an svg viewer correctly implements circle filling, rect filling, > etc <!-- Processed by Id: cwm.py,v 1.29 2001/02/28 20:45:26 timbl Exp --> <!-- using base file:earl2.n3--> <rdf:RDF xmlns="http://www.w3.org/2000/10/swap/log.n3#" xmlns:earl="http://www.w3.org/2001/03/earl/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:myns="http://myns.org/#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2001/01/rdf-schema#"> <rdf:Description about="http://myns.org/#a"> <equivalentTo xmlns="http://www.daml.org/2000/10/daml-ont#" parseType="Quote"> <earl:tool about="http://foo.com/svgplayer1"> <myns:released parseType="Resource"> <dc:date>2000/12/24</dc:date> </myns:released> <earl:version>1.23</earl:version> </earl:tool> </equivalentTo> </rdf:Description> <rdf:Description about="mailto:joe@zzz.com"> <earl:asserts parseType="Quote"> <rdf:Description about="http://myns.org/#a"> <rdfs:comment> circle looks ok, but there's an extra pixel there http://w3.org/tr/svg/ts/assertion1, part of http://w3.org/svg/testsuite1.0 </rdfs:comment> <earl:expectedResult>circle should be all red, with a black border</earl:expectedResult> <earl:testMode>manual</earl:testMode> <earl:testPurpose>testing circle filling</earl:testPurpose> <earl:testResult parseType="Resource"> <earl:validity resource="http://www.w3.org/2001/03/earl/#passes"/> <earl:confidence>medium</earl:confidence> </earl:testResult> </rdf:Description> </earl:asserts> </rdf:Description> <rdf:Description about="mailto:joe@zzz.com"> <earl:asserts parseType="Quote"> <rdf:Description about="http://myns.org/#a"> <rdfs:comment> rect looks just fine http://w3.org/tr/svg/ts/assertion2, part of http://w3.org/svg/testsuite1.0 </rdfs:comment> <earl:expectedResult>rect should be all red, with a white border</earl:expectedResult> <earl:purpose>testing rect filling</earl:purpose> <earl:testMode>manual</earl:testMode> <earl:testResult parseType="Resource"> <earl:validity resource="http://www.w3.org/2001/03/earl/#passes"/> <earl:confidence>high</earl:confidence> </earl:testResult> </rdf:Description> </earl:asserts> </rdf:Description> <rdf:Description about="mailto:joe@zzz.com"> <earl:when parseType="Resource"> <dc:date>2001/03/14</dc:date> </earl:when> </rdf:Description> </rdf:RDF> > 3) a web page has an HTML syntax error <!-- Processed by Id: cwm.py,v 1.29 2001/02/28 20:45:26 timbl Exp --> <!-- using base file:earl3.n3--> <rdf:RDF xmlns="http://www.w3.org/2000/10/swap/log.n3#" xmlns:earl="http://www.w3.org/2001/03/earl/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:myns="http://myns.org/#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdfs="http://www.w3.org/2001/01/rdf-schema#"> <rdf:Description about="mailto:sean@w3.uk"> <earl:asserts parseType="Quote"> <earl:webContent about="http://example.org/page"> <rdfs:comment> syntax error, line12, missing ul http://w3.org/html4/testassertion123 according to http://validator.w3.org/html </rdfs:comment> <earl:expectedResult resource="http://w3.org/tr/html4#ul"/> <earl:purpose>checking html4 dtd content model</earl:purpose> <earl:testMode>auto</earl:testMode> <earl:testResult parseType="Resource"> <earl:validity resource="http://www.w3.org/2001/03/earl/#fails"/> </earl:testResult> </earl:webContent> </earl:asserts> </rdf:Description> <rdf:Description about="mailto:sean@w3.uk"> <earl:when parseType="Resource"> <dc:date>2001/03/14</dc:date> </earl:when> </rdf:Description> </rdf:RDF> [1] http://www.w3.org/2000/10/swap/cwm.py -- Kindest Regards, Sean B. Palmer @prefix : <http://webns.net/roughterms/> . :Sean :hasHomepage <http://infomesh.net/sbp/> .
Received on Monday, 19 March 2001 12:04:41 UTC