Re: Issue: overlapping with XML Schema Part 2

From
Kohsuke KAWAGUCHI <>
Date
2001-05-02T02:42:30+00:00
ID
Thread
Re: Issue: overlapping with XML Schema Part 2
> That's because, for most of the facets, each derivation is resetting the
> value of the facet if you use it again in a new derivation.

No, you are misunderstanding the spec.


> For instance, if I define a numeric type as being greater than 5 and if
> I apply a new "restriction" to create a new datatype that is greater
> than 4, the resulting datatype is greater than 4.

Such a derivation is an error. See section 4.3.9.4, "Schema Component
Constraint: minExclusive valid restriction".


--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems