I believe the concept of restriction in XML Schema Part 2 is broken. The
only way of treating XML Schema Part 2 facets that I have been able to find
that isn't broken is to treat them as parameters. If facets are just
parameters, what would derivation mean?
----- Original Message -----
From: "Kohsuke KAWAGUCHI" <>
To: <>
Sent: Tuesday, May 08, 2001 7:19 AM
Subject: Re: Issue: overlapping with XML Schema Part 2
Your proposal doesn't allow me to name a type and derive a new type from
it. I think this might be a considerable drawback.
<simpleType name="localTime">
<restriction base="time"><!-- prohibit time zone -->
<pattern value="[0-9]+:[0-9]+:[0-9]+" />
</restriction>
</simpleType>
....
<element name="officeHours">
<data type="localTime">
<param name="minInclusive" value="08:00:00" />
<param name="minInclusive" value="20:00:00" />
</data>
</element>
...