W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2009

[whatwg] Fwd: Make quoted attributes a conformance criterion

From: Jeremy Keith <jeremy@adactio.com>
Date: Mon, 27 Jul 2009 11:29:05 +0100
Message-ID: <21D27BC6-928A-49A6-BFE5-51354236D29D@adactio.com>
Maciej wrote:
> So, in conclusion, having a baseline for correct syntax may actually  
> make it easier to develop an ecosystem of style-checking tools.  
> However, this makes it important to keep the core set of syntax  
> errors relatively minimal. I'm not sure HTML5 as currently drafted  
> entirely hits that balance, but mandating optional tags or requiring  
> double quotes on attributes would be a move in the wrong direction.

I concur. And I say that as someone who likes the XHTML-like syntax  
(always closing tags, always quoting attributes, etc.). I don't think  
my personal preference for writing markup should be enforced in the  
spec; it should be enforced in the lint tools.

The comparison with JavaScript is a good one, I think:
> JavaScript, C and C++ are examples of languages where conforming  
> syntax is strictly defined, yet tools are available that do  
> additional static analysis for both style and correctness.


Jeremy Keith

a d a c t i o

Received on Monday, 27 July 2009 03:29:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:14 UTC