W3C home > Mailing lists > Public > public-wai-ert@w3.org > February 2007

20060927-conformant RDF?

From: Alan Dean <alan.dean@gmail.com>
Date: Sat, 10 Feb 2007 20:01:47 +0000
Message-ID: <6fb173f50702101201t6bc6b486vc1ab84c1e7349e47@mail.gmail.com>
To: public-wai-ert@w3.org




Hello,

I have been reading through the latest EARL draft at
http://www.w3.org/TR/2006/WD-EARL10-Schema-20060927/ and, so far as I
can tell, at this time the guide is still awaiting update and the
currently live EARL implementations at w3.org and elsewhere still
adhere to the previous version.

Accordingly, I would like to request your feedback on the following
RDF (a representation of a passed test to assert the HTTP response
code of a HEAD request to http://example.com ) to assess that it is
conformant to the 20060927 EARL spec:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:dcterms="http://purl.org/dc/terms/"
   xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#"
   xmlns:http="http://www.w3.org/2006/http#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:uri="http://www.w3.org/2006/uri#">

   <earl:Software  rdf:about="#assertor">
      <dc:title xml:lang="en">Example Application</dc:title>
      <dc:description xml:lang="en">An example testing
application</dc:description>
      <dcterms:hasVersion>1.0.0.0</dcterms:hasVersion>
   </earl:Software>

   <earl:WebContent rdf:about="#subject">
      <dc:title>Example Web Page</dc:title>
      <dc:date>Sat, 10 Feb 2007 16:04:19 GMT</dc:date>
      <earl:httpRequest>
         <http:HeadRequest>
            <uri:uri>http://example.com</uri:uri>
         </http:HeadRequest>
      </earl:httpRequest>
      <earl:httpResponse>
         <http:Response>
            <http:responseCode>200 OK</http:responseCode>
            <http:date>Sat, 10 Feb 2007 16:04:19 GMT</http:date>
            <http:last-modified>Tue, 15 Nov 2005 13:24:10
GMT</http:last-modified>
            <http:etag>"63ffd-1b6-80bfd280"</http:etag>
            <http:content-type>text/html; charset=UTF-8</http:content-type>
         </http:Response>
      </earl:httpResponse>
   </earl:WebContent>

   <earl:Assertion rdf:about="#ok">
      <dc:description>Asserts that the HTTP response code is "200
OK"</dc:description>
      <earl:assertedBy rdf:resource="#assertor" />
      <earl:mode
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic" />
      <earl:subject rdf:resource="#subject" />
      <earl:result rdf:parseType="Resource">
         <earl:validity
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#pass" />
      </earl:result>
   </earl:Assertion>
</rdf:RDF>

Kind regards, Alan Dean
http://thoughtpad.net/who/alan-dean
Received on Sunday, 11 February 2007 20:05:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:28 GMT