- From: olivier Thereaux <ot@w3.org>
- Date: Sun, 13 Nov 2005 10:06:13 +0900
- To: Frank Ellermann <nobody@xyzzy.claranet.de>
- Cc: www-validator@w3.org
On Nov 13, 2005, at 8:38, Frank Ellermann wrote: > Weird effect, that might be validator bug, with a manual DOCTYPE > override at <http://validator.w3.org/fragment-upload.html> it > does _not_ work for XHTML 1.1 plus MathML 2.0 with my browser: > > The validator then claims that <html> and </html> are "wrong". Indeed, you found a bug, Frank. Look at the "amended" source when one uses the doctype override: <!DOCTYPE math PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> <!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> The "new" DOCTYPE declaration was declaring math as the root element, not html as would be correct for XHTML 1.1 plus MathML 2.0 http://www.w3.org/TR/MathML2/appendixa.html#parsing.module Hence the validator's whining that <html>...</html> is not a proper root element. I fixed the bug (my bug, actually, sorry) in CVS. There are a couple other bugs to fix in 0.7.1 anyway, so we'll release a 0.7.2 soon. Thanks, olivier -- olivier Thereaux - W3C - http://www.w3.org/People/olivier/ W3C Open Source Software: http://www.w3.org/Status
Received on Sunday, 13 November 2005 01:06:20 UTC