getodk / validate

ODK Validate is a Java application for confirming that a form is valid and compliant with the ODK XForms specification. Contribute and make the world a better place! ✨🔍✨
https://docs.getodk.org/validate/
Other
9 stars 26 forks source link

ODK Validate does not validate if the variable is used before it is defined! #14

Closed getodk-bot closed 5 years ago

getodk-bot commented 7 years ago

Issue by hjameelq Tuesday Aug 18, 2015 at 08:27 GMT Originally opened as https://github.com/opendatakit/opendatakit/issues/1166 (1 comment(s))


Hi,

I couldn't upload excel file or so, but I have used here a variable before it is defined, and it didn't throw up any problem when I tried to validate the form, but the server didn't accept to upload it due to xform def problems.

Please have a look at pic attached, I 'm sorry I couldn't upload the excel file.

odk-issue

getodk-bot commented 7 years ago

Comment by mitchellsundt Tuesday Aug 18, 2015 at 17:21 GMT


See my attempt at duplicating this form here:

https://drive.google.com/file/d/0ByL2Z0RJHwGaaEFodGpmUUpLck0/view?usp=sharing

This works both for uploading to ODK Aggregate and for downloading, filling out, and running.

lognaturel commented 5 years ago

This doesn't look like a problem. There isn't really a 'before' and 'after' concept in XForms.