W3C home > Mailing lists > Public > www-validator@w3.org > August 2003

Re: validator does NOT validate XHTML 1.0

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 01 Aug 2003 13:28:38 +0200
To: "Houghton,Andrew" <houghtoa@oclc.org>
Cc: www-validator@w3.org
Message-ID: <3f304dd7.16637413@smtp.bjoern.hoehrmann.de>

* Houghton,Andrew wrote:
>Thursday, July 31, 2003 6:24 PM, Nick Kew wrote:
>> > Thus, the DCMI Web pages essentially use the "nil" namespace rather than
>> > the default xmlns= namespace.
>>
>> Nope.  The xmlns attribute is declared #FIXED in the DTD, so it's there
>> in any XHTML document using an XHTML 1.0 DTD even if you can't see it.
>
>I disagree, according to what I read in "Namespace for XML" which
>specifically points to the XML specification's attribute section,
>it says in "3.3.2 Attribute Defaults":
>
>  "...; the #FIXED keyword states that the attribute must always have
>   the default value..."

Yes, but this does not mean that you have to specify the attribute.

>So I read that as meaning that when you use #FIXED in an attribute
>declaration, then you *must* place the attribute in your document 
>*and* that attribute *must* contain the same value as defined in 
>the attribute declaration.

Request for clarification via <xml-editor@w3.org>.
Received on Friday, 1 August 2003 07:28:56 GMT

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