Action: send sample of results doc to list

Per my action, I'm attaching both the current state of the "moki"
document that is output from the code, and the test results document.
I've only included a snippet in the latter showing what comes out of
the CACHING test.

Sean

<?xml version="1.0" encoding="UTF-8"?>
<moki xmlns="http://moki.mobi/2007/v0.1"
xmlns:http="http://www.w3.org/2006/http#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
   <primaryDoc xmlns="">
      <retrieval>
         <retrievedURI>http://google.com/m</retrievedURI>
         <HTTPRequest>
            <method>GET</method>
            <URI>http://google.com/m</URI>
            <protocol>HTTP/1.1</protocol>
            <header name="user-agent">
               <element name="w3c mobileok ddc
(http://www.w3.org/2006/07/mobileok-ddc)"/>
            </header>
            <header name="accept-charset">
               <element name="utf-8"/>
            </header>
            <header name="accept">
               <element
name="application/xhtml+xml,text/html;q=0.1,application/vnd.wap.xhtml+xml;q=0.1,text/css,image/jpeg,image/gif"/>
            </header>
         </HTTPRequest>
         <HTTPResponse>
            <protocol>HTTP/1.1</protocol>
            <status code="200"/>
            <header name="set-cookie">
               <element name="mprf=h4siaaaaaaaaaamaaaaaaaaaaaa;
expires=sun, 17-jan-2038 19:14:07 gmt; path=/; domain=.google.com"/>
            </header>
            <header name="date">
               <element name="thu, 10 may 2007 04:42:12 gmt"/>
            </header>
            <header name="pragma">
               <element name="no-cache"/>
            </header>
            <header name="content-type">
               <element name="text/vnd.wap.wml; charset=utf-8"/>
            </header>
            <header name="server">
               <element name="gfe/1.3"/>
            </header>
            <header name="transfer-encoding">
               <element name="chunked"/>
            </header>
            <header name="cache-control">
               <element name="no-cache"/>
            </header>
         </HTTPResponse>
      </retrieval>
      <XHTMLDocInfo/>
      <docContent>
         <wml>
            <head>
               <meta content="text/vnd.wap.wml; charset=UTF-8"
http-equiv="Content-Type"/>
               <meta content="no-cache" http-equiv="Cache-Control"/>
            </head>
            <card title="Google">
               <onevent type="onenterforward">
                  <refresh>
                     <setvar name="q" value=""/>
                  </refresh>
               </onevent>
               <p>
                  <b>Google</b>
               </p>
               <p>
                  <input emptyok="true" maxlength="255" name="q" size="15"/>
                  <br/>Search: <br/>
                  <anchor title="search">
                     <go href="/m/search" method="get">
                        <postfield name="mrestrict" value="wml"/>
                        <postfield name="q" value="$(q)"/>
                        <postfield name="site" value="search"/>
                     </go>Web </anchor>
                  <br/>
                  <anchor title="mobile">
                     <go href="/m/search" method="get">
                        <postfield name="mrestrict" value="wml"/>
                        <postfield name="q" value="$(q)"/>
                        <postfield name="site" value="mobile"/>
                     </go>Mobile Web </anchor>
                  <br/>
                  <anchor title="local">
                     <go href="/m/search" method="get">
                        <postfield name="mrestrict" value="wml"/>
                        <postfield name="q" value="$(q)"/>
                        <postfield name="site" value="local"/>
                     </go>Local listings </anchor>
               </p>
               <p>
                  <a href="/m?pref=d">Preferences </a>
                  <br/>
                  <a href="/m/help">Help </a> &amp;  <a
href="http://www.google.com/intl/en/mobile/xhtml/terms_of_service.html">Terms
</a>
                  <br/>
                  <br/>View Google in: <br/>
                  <b>Mobile</b> |  <a
href="/gwt/n?source=m&amp;output=wml&amp;hl=en&amp;ei=pKJCRri0IIn8rgKrr6WhAw&amp;ct=promo&amp;&amp;u=http%3A%2F%2Fwww.google.com%2Fwebhp">Classic
</a>
                  <br/>
                  <br/>(c)2007 Google <br/>
               </p>
            </card>
         </wml>
      </docContent>
      <stylesheets/>
      <images/>
      <links/>
   </primaryDoc>
</moki>

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:earl="http://www.w3.org/WAI/ER/EARL/nmg-strawman#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:foaf="http://xmlns.com/foaf/0.1/"
         xmlns:dct="http://purl.org/dc/terms/">
   <earl:Software rdf:ID="#mobileOKBasicRI">
      <dc:title xml:lang="en">mobileOK Basic Tests Reference
Implementation</dc:title>
      <foaf:homepage>http://validator.w3.org/mobile</foaf:homepage>
      <dct:hasVersion>1.0</dct:hasVersion>
   </earl:Software>
   <earl:WebContent rdf:ID="#mobileResource">
      <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#gDate">2007-05-10</dc:date>
   </earl:WebContent>
   ...
   <earl:TestCase rdf:ID="test_CACHING">
      <dc:title>CACHING</dc:title>
   </earl:TestCase>
   <earl:Assertion rdf:ID="#assertion">
      <earl:assertedBy rdf:resource="#mobileOKBasicRI"/>
      <earl:subject rdf:resource="#mobileResource"/>
      <earl:mode
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#automatic"/>
      <earl:test rdf:resource="#test_CACHING"/>
      <earl:result>
         <earl:outcome
rdf:resource="http://www.w3.org/WAI/ER/EARL/nmg-strawman#fail"/>
         <dc:title>CACHING-1</dc:title>
         <dc:description xml:lang="en">CACHING-1: Expires and
Cache-Control headers not present</dc:description>
         <earl:info rdf:parseType="Literal" xml:lang="en">CACHING-2:
Cache-Control header contains 'no-cache', rendering the response
uncacheable. It is desirable to make content cacheable when
possible.</earl:info>
      </earl:result>
   </earl:Assertion>
   ...
</rdf:RDF>

Received on Thursday, 10 May 2007 04:47:10 UTC