W3C home > Mailing lists > Public > www-validator@w3.org > March 2002

XHTML and #fixed attributes

From: Jim Correia <correia@barebones.com>
Date: Wed, 20 Mar 2002 09:43:10 -0500
To: www-validator@w3.org
Message-Id: <CCA91576-3C10-11D6-B7C7-000A27D7C068@barebones.com>
The XML spec says

> Validity constraint: Fixed Attribute Default
> If an attribute has a default value declared with the #FIXED keyword, 
> instances of that attribute must match the default value.

A quick sanity check. This means that the attribute (xmlns for example) 
may be omitted (and if it does, it will pick up the default fixed value) 
but if the user includes it, the value must match the value in the DTD, 

Received on Wednesday, 20 March 2002 10:10:06 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:15 UTC