[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: cross references
A part of this problem comes from the fact that we don't have a concept of "derivation". This cannot be solved by adding <key>/<keyref>. Say I'm writing a schema for a scientific purpose. I want to use the float type but I don't want to see INF or NaN because they are inaccurate as values. <define name="float.0to100"> <data type="float"> <param name="pattern">[0-9.]*</param> <!-- allow numbers only --> <param name="minInclusive">0</param> <param name="maxInclusive">100</param> </data> </define> <define name="float.precision3"> <data type="float"> <param name="pattern">[0-9.]*</param> <!-- allow numbers only --> <param name="precision">5</param> </data> </define> ... Another possible example would be, I need to derive a lot of types from "dateTime" type but I want all of them to have specific time zone (or no time zone). Now the same problem arises. regards, -- Kohsuke KAWAGUCHI +1 650 786 0721 Sun Microsystems kohsuke.kawaguchi@sun.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC