X-Application does not support xs:float, all
xs:float values are handled like xs:string values.
As a consequence, your xs:float values are initialized to an empty string which is the default value for strings. If you try to store such an element in Tamino, you get a store exception because the empty string is not a valid xs:float value.
What you could do: change the definition to xs:string.
Alternatively, you could stick with xs:float and
add “value=‘0’” attributes to the respective html “input” tags to initialize manually initialize the input field to something valid. However, this would result in the same store exception if the used enters, e.g. a letter. (Which could be solved by adding some JavaScript to validate the input field before storeing the document …).
Michael
CAUTION: Please remove the “minOccurs=‘0’” from the inner sequence in your schema. It’s not actually needed since all elements in the sequence already have minOccurs=‘0’. Otherwise, Tamino or X-Application might, at some point, complain that the element is none-deterministic.
Software AG Germany, Darmstadt
#API-Management#webMethods#Tamino