Next message: Liam Quinn: "Re: XHTML + <form ...> </form> BUG?"
Date: Sun, 23 Sep 2001 21:10:24 +0100 (BST)
From: Nick Kew <nick@webthing.com>
To: Liam Quinn <liam@htmlhelp.com>
cc: www-validator@w3.org
Message-ID: <Pine.BSF.4.21.0109232107010.570-100000@fenris.webthing.com>
Subject: Re: XHTML + <form ...> </form> BUG?
On Sun, 23 Sep 2001, Liam Quinn wrote:
> > It seems to me that this error message is not ideal: why not revert
> > to a message that lists the elements <input> can be contained in at
> > this point?
>
> Do you remember the old 'document type does not allow element "P" here;
> missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag'?
My best attempt (as implemented at Site Valet) is
"element %1 must be enclosed in one of %2"
which in the above instance will expand %1 to input and %2 to
div,p,pre,...
--
Nick Kew
Site Valet - the essential service for anyone with a website.
<URL:http://valet.webthing.com/>