W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > June 2007

Re: Mobile Checker not working

From: Roland Gülle <roland@7val.com>
Date: Wed, 27 Jun 2007 18:47:33 +0200
Message-Id: <26079AC9-CB0A-494E-91AF-5D252EB5D746@7val.com>
Cc: public-mobileok-checker <public-mobileok-checker@w3.org>
To: Laura Holmes <holmes@google.com>

Hi Laura,

> I tried plugging the result template into AutoRefresh and it's  
> breaking right now because I don't think it uses the right format.  
> The Java code is looking for a result "name", and looking at the  
> functions.xsl template, I couldn't find that value being declared.  
> Here's a snip from the current CachingTest.xsl that works. Roland,  
> could you take one more look at the code and make sure everything  
> is there that needs to be? I'm not entirely sure what you're doing,  
> so I want to leave any alterations to your expertise (or you could  
> just explain it to me and I can try my hand if you're short on time).
The function.xsl return the wrong format and use the 'id' attribute  
instead of the 'name' attribute and uses an <msg> element instead of  
the <info> element.

I fixed this in CVS.

> <result name="CACHING-1" outcome="FAIL">
>       <info>
>             <xsl:value-of select="moki:msgI18n('CACHING-1', 
> $language)"/>
>       </info>
>      <position tidied="false" url="URL?" mokiID="mokiID?"  
> type="HEADER">
>               <name>
>                      <xsl:value-of select="moki:msgI18n('CACHING-1', 
> $language)"/>
>              </name>
>      </position>
>  </result>
Should we also return the position elements in the template?

Cheers,
  Roland
Received on Wednesday, 27 June 2007 16:47:48 GMT

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