W3C home > Mailing lists > Public > www-validator@w3.org > October 2004

Re: xhtml Validator bug?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 21 Oct 2004 02:45:54 +0200
To: "GVE" <gve@altervista.org>
Cc: www-validator@w3.org
Message-ID: <417b050b.501738191@smtp.bjoern.hoehrmann.de>

* GVE wrote:
>When validating an xhtml-strict page the validator does not report as an
>error the presence of a tag like this:
><script type="text/javascript" src="script.js" />
>It should be:
><script type="text/javascript" src="script.js"></script>

There is no specification that says so, the HTML Working Group only
shared their observation that using the latter works better in HTML user
agents for which it follows that if that is a concern, you are better
off using the latter. While such observations are indeed of some use,
there is nothing wrong with not reporting such observations, so this is
not a bug.

>as script is not defined as an empty element; so the first tag should be

www-html-editor@w3.org would be the right list for suggestions on what
should be allowed or not in HTML, XHTML, etc. you will find a reference
to this list in most of the HTML, XHTML, etc. specifications. the W3C
Markup Validator only cares about what they actually write into the
Received on Thursday, 21 October 2004 00:47:23 UTC

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