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

Re: [VE][108] Namespace declarations invalid?

From: David Dorward <david@dorward.me.uk>
Date: Fri, 26 Jan 2007 14:35:15 +0000
To: Drake Wilson <drake@begriffli.ch>
Cc: www-validator@w3.org
Message-ID: <20070126143515.GA7018@us-lot.org>

On Fri, Jan 26, 2007 at 12:28:32AM -0600, Drake Wilson wrote:

> 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.

If you use a DTD, then it needs to cover all the elements you use from
all namespaces.

For example: http://www.w3.org/TR/XHTMLplusMathMLplusSVG/#dtd

-- 
David Dorward                                      http://dorward.me.uk
Received on Friday, 26 January 2007 14:35:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT