Orbeon typing issue...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Orbeon typing issue...

Robin Diederen
Orbeon typing issue... Hello all,

I'm experiencing a typing issue with Orbeon I cannot explain and I'm looking for some help.

Upon loading the Xform, an instance is populated with data from en external XML file:
<xforms:instance id="table-extern" src="oxf:/apps/table.xml"></xforms:instance>

From this XML document I print some values on the Xform. For example, when I output this element "<hic:checked xsi:type="xs:boolean">false</hic:checked>" to the form, this is rendered nicely (as a checkbox).

However, I want to put a constraint on some of the data. I want to put a constraint on "
<hic:multiplier xsi:type="xs:integer">7</hic:multiplier>" using "<xforms:bind nodeset="/hic:CalculatorRequest/hic:ciz/hic:pv/hic:handeling/hic:frequentie" constraint=". gt 1"/>"

This is where stuff goes wrong: Orbeon reports an error (Cannot compare xs:string to xs:integer).

Would anybody know why this is failing? The field I want to constraint is correctly typed (as far as I can tell) and my test (printing the checkbox) tells me that Orbeon picks up the typing correctly.

I'm using Orbeon 3.7.1.

Thanks in advance, Robin



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws