FORM content in DTDnewtonjs@vnet.net (Stan Newton)
Date: Thu, 13 Oct 94 08:14:52 EDT
From: email@example.com (Stan Newton)
To: Multiple recipients of list <firstname.lastname@example.org>
Subject: FORM content in DTD
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
X-Comment: HTML Working Group (Private)
I have reviewed the The HTML.DTD dated Sep 26 and it looks pretty clean. I
found one definition which I believe needs revision. The DTD defines FORM
content as follows:
<!ELEMENT FORM -- %body.content - (FORM)+(INPUT|SELECT|TEXTAREA)
I don't believe this works when the Recommended switch is ON.
In that case, the %body.content definition becomes
<!ENTITY % body.content "(%heading|%block|HR|ADDRESS)*"
which excludes %text.
As I understand it, %text is always required inside the FORM tag because
only the FORM tag allows INPUT, SELECT and TEXTAREA tags.
If I'm correct about this, I would suggest defining a %form.content group
which always matches the %body.content group definition when Recommended is
<!ENTITY % body.content "(%heading|%text|%block|HR|ADDRESS)*"
Newton Computing Solutions