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

> 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 UTC