Use XForms types for nillable values

Release 2.0 - ...

XForms does not support the inline schema property xsi:nil.

To use a nillable type, use the alternative version of the type, which can found in the XForms namespace.

 

XML CopyCode image Copy Code
<xf:instance id="formState">
  <state:state>
    <state:notNillable xsi:type="xsd:integer"></state:notNillable>
    <state:Nillable xsi:type="xf:integer"></state:Nillable>
  </state:state>
</xf:instance>