W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] Re: Doctype FPI

From: Jim Ley <jim.ley@gmail.com>
Date: Thu, 19 Aug 2004 11:45:57 +0100
Message-ID: <851c8d3104081903457ad0765f@mail.gmail.com>
On Tue, 17 Aug 2004 19:52:00 +0200, Olav Junker Kj?r <olav at olav.dk> wrote:
> > I could definitely see benefits to providing a validator service, if it
> > was clearly labelled as just doing very basic syntax checking.
> It would be genuinely useful with an online HTML5 "lint", which checked
> validity, but also higher level sanity, like javascript syntax, regular
> expression wellformdness, and warned of valid but dubious code like
> pattern="", min value larger than max, orphan repetition blocks, and so on.

You're welcome to create one, in fact I'm sure the W3 QA groups would
be very pleased to welcome you on board. The validator and other tools
already move in that direction.

> An expressive schema langaguage could be used for checking validity.

Will the WHAT-WG will be producing such a thing?

> Douglas Crockfords jslint http://www.crockford.com/javascript/lint.html
> could probably be used for the javascript part.

That would be dangerous, as it relies on a series of "sensible rules"
rather than anything that is actually bad in javascript (for example
the === rule is particular harsh, generally in webpages you need to
rely on the typeless nature of javascript.)

Received on Thursday, 19 August 2004 03:45:57 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC