Yeah, indeed this is a pissing content :)
So again, just in case anyone still thinks that we are going to output
nested html forms:
WE ARE NOT GOING TO OUTPUT NESTED HTML FORMS.
Every inner form is going to be written to output as div. Outer form is
going to be submitted, but only the inner form is going to be processed.
That's it. :)
-Matej
Martijn Dashorst wrote:
On 11/5/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
I vote (if im allowed) not to allow nested forms at all as they are
not HTML
compliant.
I *love* a pissing contest :-) I did some research on nesting forms
(which is quite interesting though, seaside has had similar
discussions), and discovered that in XHTML, nesting forms is valid
[1]. The following document validates perfectly:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Title</title>
</head>
<body>
<form action="http://example.org" method="post">
<div>
<form action="http://example.org" method="post">
</form>
</div>
</form>
</body>
</html>
Now this doesn't imply that nesting HTML form /tags/ is a good idea,
supported by browsers or something we should try to do. Nesting form
/components/ is another matter, and another email message.
Martijn
[1]
http://listserver.dreamhost.com/pipermail/whatwg-whatwg.org/2005-October/004807.html