W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2002

Fixed property in length facet is redundant

From: Tobbi <tobbi@systinet.com>
Date: Tue, 14 May 2002 18:31:29 -0700
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>
I'm writing own XML Schema part 2 Datatypes validator. But I'm confused 
because of "length" facet.

It's got a property "fixed". In REC it is said:

If <http://www.w3.org/TR/xmlschema-2/#length-fixed>{fixed} is true, then 
types for which the current type is the 
<http://www.w3.org/TR/xmlschema-2/#defn-basetype>{base type definition} 
cannot specify a value for 
<http://www.w3.org/TR/xmlschema-2/#dc-length>length other than 

But then one constraint says:
Schema Component Constraint: length valid restriction
It is an 
if <http://www.w3.org/TR/xmlschema-2/#dc-length>length is among the members 
of <http://www.w3.org/TR/xmlschema-2/#defn-facets>{facets} of 
<http://www.w3.org/TR/xmlschema-2/#defn-basetype>{base type definition} and 
<http://www.w3.org/TR/xmlschema-2/#length-value>{value} is not equal to the 
<http://www.w3.org/TR/xmlschema-2/#length-value>{value} of the parent 

It seems like redundance? Or is there any difference?

    Thanks, Tobbi
Received on Wednesday, 15 May 2002 02:39:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:00 UTC