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

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

From: Eddie Robertsson <eddie@allette.com.au>
Date: Fri, 25 May 2001 10:14:57 +1000
Message-ID: <3B0DA400.E1C1C17C@allette.com.au>
To: Ashok Malhotra <ashokma@microsoft.com>
CC: KAZUMI Saito <ksaito@jp.fujitsu.com>, xmlschema-dev@w3.org
> -----Original Message-----
> From: KAZUMI Saito [mailto:ksaito@jp.fujitsu.com]
> Sent: Thursday, May 24, 2001 3:27 AM
> To: xmlschema-dev@w3.org
> Subject: fixed property of the min/max/Inclusive/Exclusive facet
> Hellow.
> I'd like to know the {fixed} property of the min/max/Inclusive/Exclusive
> facet.
> Please suggest to me.
> When user derived data type TYPE-A has the minInclusive facet with
> {fixed}
> property as true, can I specify the minExclusive facet to the TYPE-B
> which
> derived from TYPE-A by restriction ?

No, I don't belive you can. According to in the Datatype spec:

" Constraints on minExclusive Schema Components
Schema Component Constraint: minInclusive and minExclusive

It is an ·error· for both ·minInclusive· and ·minExclusive· to be specified
for the same datatype. "

Since the derived TYPE-B above will contain both minInclusive and
minExclusive it will result in an error according to the above rule.

Received on Thursday, 24 May 2001 20:15:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:51 UTC