W3C home > Mailing lists > Public > www-archive@w3.org > August 2009

Re: WebIDL checker

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 5 Aug 2009 01:39:20 +0000 (UTC)
To: Dominique Hazael-Massieux <dom@w3.org>
Cc: spec-prod@w3.org, www-archive@w3.org
Message-ID: <Pine.LNX.4.62.0908050137400.6420@hixie.dreamhostps.com>
On Thu, 30 Jul 2009, Dominique Hazael-Massieux wrote:
> 
> I have just released a simple on-line WebIDL checker: 
> http://www.w3.org/2009/07/webidl-check It detects bugs in the WebIDLs it 
> finds inside HTML documents - it looks for <pre> elements with a class 
> set to "idl" or "webidl", and then validates what it extracts using 
> Aplix' widlproc: 
> http://widl.webvm.net/svn/widlproc/trunk/doc/widlproc.html

This is fantastic.

I have a small feature request. Would it be possible to have a mode 
wherein the script returns an empty document if it parses the provided URL 
without problems, and returns a text/plain document with one error per 
line with line numbers reporting the errors if it finds any? That would 
let me integrate this with my build tools and find errors as I make them.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 5 August 2009 01:39:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:25 GMT