Hello.
Running the following document through the W3C's validator, returns the
error: "end tag for "body" which is not finished."
<!-- Start of sample document -->
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pt-BR">
<head>
<title>Foo</title>
</head>
<body>
</body>
</html>
<!-- End of sample document -->
However, the specification document has the /minimal content model/ for
the body element as "(Heading | Block | List)*". Does it not mean that
the body element *is* allowed to be empty? Where does the problem lie:
in my understanding, in the validator or in the specification?
[1]
http://www.w3.org/TR/xhtml-modulariz...tructuremodule
Thank you,
--
Ney André de Mello Zunino