Re: validator does NOT validate XHTML 1.0

* 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 UTC