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

mobileOKBasicDocCheckerSyncTest

From: Roland Gülle <roland@7val.com>
Date: Tue, 18 Sep 2007 10:47:43 +0200
To: public-mobileok-checker <public-mobileok-checker@w3.org>
Message-Id: <7B39C34E-D513-44D3-A697-6EED113AFF84@7val.com>
Hi all,

when seeing the Final mobileOK Basic Draft cross reference [1],
a cross reference check between the checker XSLTs and the doc come in  
my mind.

Attached you find a small XSLT that checks if:
  * each test in the XSLT is in the doc
  * each test in the doc is in the XSLT

Actually there is no doc that references all tests between the doc  
and the tests,
so you have to call the filename as input source.
If you want to change the doc [1] source,
overwrite the param in the mobileOKBasicDocCheckerSyncTest (maybe we  
should run the testName-o-mat).

When running the test,
I noticed that the doc and XSLTs are using a different syntax for  
warnings, warn vs. WARN.
If we should not care about that and we found this test useful, I'll  
add a tolower (or translate to use XSLT 1.0 syntax).

Cheers,
  Roland

[1] http://www.w3.org/2005/MWI/BPWG/Group/Drafts/mobileOK-Basic-1.0- 
Tests/070914r




Received on Tuesday, 18 September 2007 08:48:04 GMT

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