- From: Bertilo Wennergren <bertilow@hem.passagen.se>
- Date: Fri, 26 May 2000 12:37:55 +0200
- To: <www-validator@w3.org>, <XHTML-L@egroups.com>
The W3 validator, http://validator.w3.org/>, for some reason
(have I missed something?) only checks XHTML documents for
wellformedness (and even that is doubtful...) and ignores
validity.
The following code, which is most certainly not valid XHTML 1.0
nevertheless gets:
"Congratulations, this document validates as XHTML 1.0 Strict!"
Here goes:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<what xmlns="http://www.w3.org/1999/xhtml">
<gog>
<bla>Test</bla>
</gog>
<huh>
<foo wrong="bad">
Text
</foo>
</huh>
</what>
This mad test doc can be found at:
<http://www.concinnity.se/bertilow/div/mad.html>
I'm not even sure it's well formed since the doctype says the
root element is "html", but I've used "what" as root.
I did press a button that said "Validate this page", not
"Check this page for XML well-formedness".
Why? What? When? Who? ...
#####################################################################
Bertilo Wennergren
<http://purl.oclc.org/net/bertilo>
<bertilow@hem.passagen.se>
#####################################################################
Received on Friday, 26 May 2000 06:34:01 UTC