- From: Frank Ellermann <nobody@xyzzy.claranet.de>
- Date: Sun, 13 Nov 2005 00:38:10 +0100
- To: www-validator@w3.org
Bryce Nesbitt wrote:
> the "correct" example from section 3.1.2, it still does not
> validate in the w3c validator:
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
> lang="en">
After deleting the lang="en" and adding a corresponding DOCTYPE
it worked for me:
<!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">
<head>
[...]
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".
The same test input with "detect automatically" results in...
"This Page Is Valid XHTML 1.1 plus MathML 2.0!"
I'd say you found a validator v0.7.1 bug, something with the
DOCTYPE override doesn't work as expected.
For another working example see the "XHTML/MathML2 (with FPI)"
case in the test suite <http://validator.w3.org/dev/tests/>
And this also fails miserably when I use the DOCTYPE override.
Bye, Frank
Received on Saturday, 12 November 2005 23:41:17 UTC