|
I have defined one input parameter in xform of type integer.
<xforms:bind nodeset="instance('output')/fe:Input" required="false()" type="xs:integer"/>
In my XPL file I have this
<xforms:submission id="initSubmission" ref="instance('output')" validate="true"
If there is no data, submission won't happen and will throw error.
This is what I am getting in the log.
17:45:13,057 76639 DEBUG [org.orbeon.oxf.xforms.processor.XFormsServer] (http-8080-Processor24:) validation - start performing revalidate {model id: "xf-1"}
17:45:13,060 76642 DEBUG [org.orbeon.oxf.xforms.processor.XFormsServer] (http-8080-Processor24:) schema - validation error {error: "Missing character data."}
17:45:13,061 76643 DEBUG [org.orbeon.oxf.xforms.processor.XFormsServer] (http-8080-Processor24:) schema - validation error {error: "Missing character data."}
My question is why its not able to validate it if filed is empty. Field is marked as not-required so it can be empty.
I am using this Orbeon Forms 3.8.0.201005141856 CE
Thanks in advance.
|