getodk/validate

Validation of form with external CSV fails

yanokwa opened this issue · 0 comments

Software versions

Validate v1.13

Problem description

Form with CSV external data fails validation with the following error.

org.javarosa.xform.parse.XFormParseException: <label> node for itemset doesn't exist! [instance(cities)/root/item/label]
	at org.javarosa.xform.parse.FormInstanceParser.verifyItemsetBindings(FormInstanceParser.java:344)
	at org.javarosa.xform.parse.FormInstanceParser.verifyBindings(FormInstanceParser.java:177)
	at org.javarosa.xform.parse.FormInstanceParser.parseInstance(FormInstanceParser.java:84)

Steps to reproduce the problem

Validate this and it fails. ecsv.xml.zip (source: ecsv.xlsx)

Validate this and it works. exml.xml.zip (source: exml.xlsx)