RE: validator does NOT validate XHTML 1.0

From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]
Subject: Re: validator does NOT validate XHTML 1.0

>* Houghton,Andrew wrote:
>>Can someone from the W3C Validator team respond to why a problem with the
>>validator reported by Devon Y. in Aug 2002 has still not been corrected.
I
>>just ran into this same problem with the DCMI site, e.g.
>>http://www.dublincore.org/documents/dcmi-terms/, that has non-conforming
>>XHTML 1.0 documents.  Just about all their documents fail to specify the
>>xmlns as required by the standard.
>
>Where does XHTML 1.0 say that the default declaration in the document
>type definition is insufficient for strictly conforming documents?

The document at http://www.w3.org/TR/xhtml1/ states in section 3.1.1
"Strictly Conforming Documents" must (1) the document must conform to the
DTD,
in the case of the DCMI site this is true except HTML Tidy reports
accessibility problems. (2) the root element of the document must be "html",
if it weren't "html" it wouldn't pass rule (1).  (3) the root element of
the document must contain an xmlns declaration with the namespace
"http://www.w3.org/1999/xhtml", in the case of the DCMI site it fails to
do this. (4) and (5) are non-issues as the DCMI site does those as well.

Thus, the DCMI Web pages essentially use the "nil" namespace rather than
the default xmlns= namespace.

Received on Thursday, 31 July 2003 13:29:25 UTC