W3C home > Mailing lists > Public > www-html@w3.org > August 2000

RE: error in xhtml 1.0 strict DTD?

From: Dave J Woolley <DJW@bts.co.uk>
Date: Thu, 10 Aug 2000 15:57:33 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB5824907@stagecoach.bts.co.uk>
To: www-html@w3.org
> From:	Dave Mertens [SMTP:dmertens@ism.nl]
> Sent:	Thursday, August 10, 2000 3:12 PM
> To:	www-html@w3.org
> Subject:	error in xhtml 1.0 strict DTD?
> I have possibly found an error in the strict xhtml 1.0 DTD.
	I don't think so.

> Buttons in forms can be set in 2 ways:
	Text only buttons....

> <input type="submit" name="action" value="send" />
> or
> <button type="submit" name="action" value="send" />
> Both give the same result. There i conclude that the input-types are only
> there for compibilty, so that part is transitional and not strict.
[DJW:]  The button form would be unsafe from a backward
compatibility point of view (it may be illegal).  An HTML
4 browser seeing it is unlikely to recognize the "/>" and
therefore leave the button unclosed (I thought the XHTML 
rules required a separate close where HTML required
an explicit one).

Button is also broken in IE4 and, not in NS4 at all.  I cannot
think of any way of gracefully degrading a button element.

XHTML 1.0 *is* about backward compatibility.

In my view, button is unsafe except in controlled, intranet,
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.
Received on Thursday, 10 August 2000 10:57:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:54 UTC