W3C home > Mailing lists > Public > www-validator@w3.org > September 2007

warnings for shorttags (Was: IMG missing right bracket should not validate)

From: Olivier Thereaux <ot@w3.org>
Date: Tue, 25 Sep 2007 16:06:53 +0900
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: www-validator@w3.org, Aubrey Jaffer <agj@alum.mit.edu>
Message-ID: <20070925070653.GA14795@w3.mag.keio.ac.jp>

On Tue, Sep 25, 2007, Jukka K. Korpela wrote:
> As far as I remember, the problem was the idea of making the parsing 
> itself something different from the kind of SGML parsing required by HTML 
> 4, instead of just issuing warnings _in addition to_ doing the very job 
> that a validator is supposed to do.
> Or maybe it was just the implementation, especially making the validator 
> explicitly claim that a document is invalid when it is in fact valid.

Indeed, after looking closer at the history, it seems that the "fussy"
parsing was unpopular because fussy parsing would report shorttag usage
as "invalid" when it is, strictly speaking, valid. It's just valid, yet
wrong most of the times. Giving warnings here should cause little fuss.

I've hacked around this and made the shorttag-triggered messages
warnings instead of errors, and added some explanations to the obscure
warning messages issued by opensp.

test at:
Received on Tuesday, 25 September 2007 07:07:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:53 UTC