W3C home > Mailing lists > Public > www-validator@w3.org > May 2002

Accepting redundant xmlns declarations

From: John Levon <levon@movementarian.org>
Date: Thu, 9 May 2002 22:12:04 +0100
To: www-validator@w3.org
Message-ID: <20020509211204.GA5759@compsoc.man.ac.uk>

I have been led to understand that XHTML 1.0 Strict documents containing
code like :

<p xmlns="http://www.w3.org/1999/xhtml">
...
</p>

is well-formed and valid, although the ns declaration is redundant.

Is this the case ? Would it be possible for xmlns tags that just give
the current namespace to be ignored by the validator (the rest of my
code validates fine) ? Currently they are labelled as invalid attributes
for XHTML 1.0 Strict.

This sort of output comes from docbook XML processed by xsltproc

thanks
john

-- 
"So what you're saying is "screw the disabled" and you want us to do the
 same ?  No thanks..."
	- Ian Hixie, bug 25537
Received on Thursday, 9 May 2002 17:12:08 GMT

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