xdw v3 oasis

Element : INT1 (XML Type: INT )


Summary

Package : v3

XML Type : INT

Comments : Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise numbers that are results of counting and enumerating. Integer numbers are discrete, the set of integers is infinite but countable. No arbitrary limit is imposed on the range of integer numbers. Two NULL flavors are defined for the positive and negative infinity.


Generalization

Parent : QTY


Attributes
Name Type cardinality Comment
value
Attribute : value
java.math.BigInteger 0...1

Constraints

There are no specific rules for this element.


Schema declaration
<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="INT">
      
<xs:annotation>
         
<xs:documentation>
            Integer numbers (-1,0,1,2, 100, 3398129, etc.) are precise
            numbers that are results of counting and enumerating.
            Integer numbers are discrete, the set of integers is
            infinite but countable.  No arbitrary limit is imposed on
            the range of integer numbers. Two NULL flavors are
            defined for the positive and negative infinity.
         
</xs:documentation>
         
<xs:appinfo>
            
<diff>INT</diff>
            
<sch:pattern xmlns:sch="http://www.ascc.net/xml/schematron" name="validate INT">
               
<sch:rule abstract="true" id="rule-INT">
                  
<sch:report test="(@value or @nullFlavor) and not(@value and @nullFlavor)" />
               
</sch:rule>
            
</sch:pattern>
         
</xs:appinfo>
      
</xs:annotation>
      
<xs:complexContent>
         
<xs:extension base="QTY">
            
<xs:attribute name="value" type="int" use="optional" />
         
</xs:extension>
      
</xs:complexContent>
   
</xs:complexType>