[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
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> ... > 2. pattern (it says it applies to the value space, but I think this is > unimplementable except for datatypes derived from string; the only way I can > see to implement it is to treat it as restricting the lexical space) Actually, it says "pattern is a constraint on the value space of a datatype which is achieved by constraining the lexical space." So I don't see any flaw here. -- Kohsuke KAWAGUCHI +1 650 786 0721 Sun Microsystems kohsuke.kawaguchi@eng.sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC