[Bug 3448] nested tags should be flaged as invalid

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3448

           Summary: nested tags should be flaged as invalid
           Product: Validator
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: check
        AssignedTo: link@pobox.com
        ReportedBy: w3cbus@soral.net
         QAContact: www-validator-cvs@w3.org


Overview Description:
According to http://www.w3.org/TR/2002/REC-xhtml1-20020801/#prohibitions
a form tag cannot be a descendant of another form tag
However, a nested form validates correctly.

Steps to Reproduce:

Validate this test case:
====================
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>TITLE</title>
</head>
<body>
<form id="f1" action="/action0">
<div><form  id="f2" action="/action1"><div>hello 1</div></form></div>
</form>
</body>
</html>
==================

Actual Results:
Passed validation

Expected Results:
Failed validation, 1 error

Build & Date
Markup Validation Service v0.7.2 on 2006-07-12

Received on Wednesday, 12 July 2006 23:27:08 UTC