W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2005

fixed property of constraining facets

From: Post, Dr. Ulrich <Ulrich.Post@softwareag.com>
Date: Mon, 14 Mar 2005 19:12:45 +0100
Message-ID: <76EEB38C72AE1D4EA2FE2753766EB51447E9C9@DAEMSG03.eur.ad.sag>
To: <www-xml-schema-comments@w3.org>

Hello

For all constraining facets except enumeration and pattern it is stated
in section 4.3 of
XML Schema 2
(http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/datatypes.html#rf-fa
cets):

  "If {fixed} is true, then types for which the current type is the 
   {base type definition} cannot specify a value for <facet> other than
{value}."

But I filed to find a statement that the fixed="true" property of a
facet is inherited 
by a type derived via restriction or extension. 
Assume 
- type T1 set has fixed="true" for <facet> with some {value}, 
- T2 is derived from T1 by restriction or extension, specifying <facet>
with the same {value}, 
then T3 derived from T2 via restriction may specify that <facet> with a
different {value}. 

Is that intended? 

Best regards
Uli
Received on Monday, 14 March 2005 18:13:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:36 GMT