Skip to main content

BIN OhqNO Documentation

  • Author:

  • Version: 1

  • Description: Test required on union of int - OPTIONAL

  • Created: 2020-02-15

  • Modified: 2020-02-15

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='Form' description='Test required on union of int - OPTIONAL #ARIA'>
        <field name='IntOpenEnum' type='IntUnionCommonOpen' 
    	    	    		minOccurs='0'
    	    	    		extra:form.empty='false'
    	    	    		extra:form.explanation='You must choose an option or enter a number between 1 and 100' 
    	    	    		extra:form.error.l10n='true' 
    	    	    		extra:form.error='Please enter a number between 1 and 100, otherwise select an option.' 
    	    	    		extra:form.alt='A tooltip for this input' 
    	    	    		extra:html5.inputmode='numeric'
    	    	    		extra:ic.css='input-small'
    		    		extra:optionsctrl.freetext='text'
    		    	        extra:form.control='options'
    				extra:form.maybenull='true'
    				></field>
    </complexType>
    <simpleType name='IntUnionCommonOpen' unionTypes='CommonInt Int1to100' />
    <simpleType name='CommonInt' type='xs:int'>
        <facet name='enumeration' value='1'/>
        <facet name='enumeration' value='5'/>
        <facet name='enumeration' value='10'/>
        <facet name='enumeration' value='15'/>
        <facet name='enumeration' value='50'/>
    </simpleType>
    <simpleType name='Int1to100' type='xs:int' >
        <facet name='minInclusive' value='1'/>
        <facet name='maxInclusive' value='100'/>
    </simpleType>