W3C home > Mailing lists > Public > www-validator@w3.org > November 2005

Re: Validation of XHTML with other namespaces

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Sun, 13 Nov 2005 00:38:10 +0100
To: www-validator@w3.org
Message-ID: <43767CE2.4E44@xyzzy.claranet.de>

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" 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:54 UTC