W3C home > Mailing lists > Public > spec-prod@w3.org > July to September 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:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:14 UTC