ODK VALIDATE on some questions


(kagera ian) #1

What is the problem? Please be detailed.
After editing my data collection form to add new questions, ODK validate brings errors and i cannot upload on aggregate

Anything else we should know or have? If you have a test form or screenshots or logs, attach here.
Sample of results from ODK Validate

XForm is invalid. See above for the errors.
org.javarosa.xform.parse.XFormParseException: Invalid calculate for the bind attached to "/data/Agriculture_Programming/Does_Household_practice_other_soil_management_and_water_control_practices_like_double_dug_terracing_contour_hedgerows" : null in expression ian@raisingthevillage.org
at org.javarosa.xform.parse.StandardBindAttributesProcessor.createBinding(StandardBindAttributesProcessor.java:112)
at org.javarosa.xform.parse.XFormParser.processStandardBindAttributes(XFormParser.java:1


(Dr. Gareth S. Bestor) #2

Can you please post the XLS form so that we might determine what’s causing the error. Thnx.


(kagera ian) #3

RTV SPOT CHECK-Household V2 (14).xml (68.5 KB)

attached is the XML form


(Dr. Gareth S. Bestor) #4

This line doesnt make sense:

<bind nodeset="/data/Agriculture_Programming/Does_Household_practice_other_soil_management_and_water_control_practices_like_double_dug_terracing_contour_hedgerows" type="select1" calculate="ian@raisingthevillage.org"/>

First, you almost never want a calculation on a select1 question, and the calculation specified makes no sense anyway.

Did you perhaps accidentally paste an email address (ian@raisingthevillage.org) into the calculation cell in your XLSForm spreadsheet?