Non-zero, non-infinite float

Is this the best way to define a non-zero, non-infinite float?

 <simpleType name="nonZeroNonInfiniteFloat">
  <union>
   <simpleType>
    <restriction base="float">
     <minExclusive value="0"/>
     <maxExclusive value="INF"/>
    </restriction>
   </simpleType>
   <simpleType>
    <restriction base="float">
     <minExclusive value="-INF"/>
     <maxExclusive value="-0"/>
    </restriction>
   </simpleType>
  </union>
 </simpleType>

Thanks

Hugh

************************************************************************

If you received this e-mail in error please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited.

Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses. The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com

Received on Friday, 28 March 2003 08:56:38 UTC