Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Look at pyxform validation #890

Closed
MartijnR opened this issue Dec 5, 2017 · 3 comments
Closed

Look at pyxform validation #890

MartijnR opened this issue Dec 5, 2017 · 3 comments

Comments

@MartijnR
Copy link
Member

MartijnR commented Dec 5, 2017

Does ODK Validate still look at external data nodes?

If validation is disabled in pyxform, does that only disable ODK Validate validation or also its own validation (e.g. no "name" or no "end repeat")?

@MartijnR MartijnR added this to the OpenClinica Next milestone Dec 5, 2017
@MartijnR
Copy link
Member Author

MartijnR commented Dec 6, 2017

ODK Validate 1.7.0 still looks inside external instances and throws an error if the instance is empty. E.g. if a calculation refers to instance('countries')/some/node it throws an error because the instance is not populated in the XForm definition (this is done when the form is loaded).

Correction: It only does this for select and select one questions that populate options from the external data. So that may actually not be so serious!

@MartijnR
Copy link
Member Author

MartijnR commented Dec 6, 2017

The pyxform --skip_validate option still does pyxform's own validation. It only skips ODK Validate. That's good.

@MartijnR
Copy link
Member Author

MartijnR commented Dec 7, 2017

check if @ references pass ODK Validate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant