Re: No error for missing namespace attribute

On Tue, 2 Jan 2007, Grant, Melinda wrote:

> The document at http://www.savagecreek.net/CSS/t1.htm passes validation
> although it is missing the mandatory html namespace attribute.

The reason is that the requirement on explicit use of the xmlns attribute 
has been expressed in prose only, not in the DTDs. The reason to this is 
that it cannot be expressed in a DTD, due to the limitations of the 
formalism. The attribute is declared #FIXED, which means by definition 
that the attribute, if present, must have the exact value given, but it 
does not specify that it is required.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Wednesday, 3 January 2007 00:02:56 UTC