- From: Drake Wilson <drake@begriffli.ch>
- Date: Fri, 26 Jan 2007 00:28:32 -0600
- To: www-validator@w3.org
Received on Friday, 26 January 2007 14:22:11 UTC
Small test case:
"""
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://begriffli.ch/foo-namespace">
<head><title>Foo</title></head>
<body></body>
</html>
"""
(Without the triple double quotes, of course.)
This doesn't pass, because the validator claims there is no xmlns:foo
attribute. I thought XHTML documents were supposed to be XML
documents, and as such could have namespace declarations of that sort
in them with no problem. Is that not the case? I searched the Web
and the list archives, but couldn't find anything authoritative on the
topic.
---> Drake Wilson
Received on Friday, 26 January 2007 14:22:11 UTC