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

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 UTC