W3C home > Mailing lists > Public > www-validator@w3.org > May 2008

even empty Xhtml/SVG document won't validate

From: gerald tevreden <gesttel2@versatel.nl>
Date: Thu, 8 May 2008 05:25:32 +0200
To: www-validator@w3.org
Message-Id: <20080508052532.EAC9E490.gesttel2@versatel.nl>

Hello,

I'm trying to figure out which doctype I need to use for inline SVG. 
I ended up MathML 2.0 plus SVG 1.1.
Unfortunately even an empty document won't validate:

<!DOCTYPE html PUBLIC
    "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
    "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>XHTML as the host language</title>
  </head>
<body>
</body>
</html>

I get an error message stating the closing </body> is not closed. "
Line 9, Column 6: end tag for "body" which is not finished". What am 
I missing here?
I tried xml declaration as first line, but that didn't make any 
difference.

Kind regards
Received on Friday, 9 May 2008 10:55:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:29 GMT