W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

[VE][108] Namespace declarations invalid?

From: Drake Wilson <drake@begriffli.ch>
Date: Fri, 26 Jan 2007 00:28:32 -0600
To: www-validator@w3.org
Message-ID: <20070126062832.GA32353@drache.begriffli.ch>
Small test case:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:foo="http://begriffli.ch/foo-namespace">

(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

   ---> Drake Wilson

Received on Friday, 26 January 2007 14:22:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:51 UTC