Definition Type: SimpleType
Name: nonNegativeNumberType
Namespace: http://www.xml-cml.org/schema
Containing Schema: schema.xsd
Documentation:
A nonNegative number. Note that we also provide positiveNumber to avoid inclusive zero. The maximum number is 1.0E+999 since 'unbounded' is more difficult to implement. This is greater than Eddington's estimate of the number of particles in the universe so it should work for most people.
Collapse XSD Schema Diagram:
XSD Diagram of nonNegativeNumberType in schema schema_xsd (Chemical Markup Language (CML))
Collapse XSD Schema Code:
<xsd:simpleType name="nonNegativeNumberType" id="st.nonNegativeNumberType">
    <xsd:annotation>
        <xsd:documentation>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">A nonNegative number.</h:div>
            <h:div class="description" xmlns:h="http://www.w3.org/1999/xhtml">Note that we also provide positiveNumber to avoid inclusive zero. The maximum number is 1.0E+999 since 'unbounded' is more difficult to implement.  This is greater than Eddington's estimate of the number of particles in the universe so it should work for most people.</h:div>
        </xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:double">
        <xsd:minInclusive value="0.0" />
        <xsd:maxInclusive value="1.0E+99" />
    </xsd:restriction>
</xsd:simpleType>
Collapse Facets:
Facet Value
MaxInclusive 1.0E+99
MinInclusive 0.0