W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2001

Re: fixed property of the min/max/Inclusive/Exclusive facet

From: Jeff Rafter <jeffrafter@definedweb.com>
Date: Wed, 6 Jun 2001 23:11:49 -0700
Message-ID: <00e001c0ef18$bd6facc0$f181fea9@lazarus>
To: "KAZUMI Saito" <ksaito@jp.fujitsu.com>
Cc: <xmlschema-dev@w3.org>
> I'd like to ask once more with some changes (min -> max).
>
> The following is illegal since fixed = 'true' ?
>
> <simpleType name='myType2'>
> <restriction>
> <simpleType>
> <restriction base='integer'>
> <maxExclusive value='11' fixed='true'/>
> </restriction>
> </simpleType>
> <maxInclusive value='10'/>
> </restriction>
> </simpleType>

Correct-- it is illegal [1].

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

[1] http://www.w3.org/TR/xmlschema-2/#dt-maxInclusive

Regards,
Jeff Rafter
Defined Systems
http://www.defined.net
XML Development and Developer Web Hosting
Received on Thursday, 7 June 2001 02:12:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:21 GMT