Wrong validation pattern for positiveInteger (with solution)
Brought to you by:
alain-couthures
The pattern validation associated to content bound with positiveInteger type is not accepting 1,2,3
The asscociated pattern in xsltforms.js line 4927
"positiveInteger" : \{
"base" : "xsd\_:integer",
"patterns" : \[ "^\[+\]0\*\[1-9\]\[0-9\]\*$" \]
\},
has to be replaced by
"positiveInteger" : \{
"base" : "xsd\_:integer",
"patterns" : \[ "^\[+\]?0\*\[1-9\]\[0-9\]\*$" \]
\},