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, 
correct?

Thanks,
Jim
Received on Wednesday, 20 March 2002 10:10:06 GMT

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