W3C home > Mailing lists > Public > www-validator@w3.org > January 2007

Re: No error for missing namespace attribute

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 3 Jan 2007 02:02:48 +0200 (EET)
To: "Grant, Melinda" <melinda.grant@hp.com>
cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.64.0701030158500.2116@mustatilhi.cs.tut.fi>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:50 UTC