"--skip_validate" arg for xls2xform.py #63
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
c758940 Exposes the existing option in survey.print_xform_to_file to not run ODK_Validate on the output XML file, as an optional argument "--skip_validate" on the command line.
94c759c Before I could get started on this there were a couple of Windows-specific problems preventing the nosetests from running. In each case I've tried to make it so that the original behaviour will be attempted, then try the Windows route, and then fail after that. All the tests pass for me on Windows 7 x64 with these changes. It's passing in travis-ci so I guess it's Linux compatible too. https://travis-ci.org/lindsay-stevens/pyxform/builds/126578491.
a57ab51 I also had trouble with the bundled ODK_Validate.jar; when running the tests, the
java -jar
call would error out with NoClassDefFound exceptions. I think it is something to do with the "jar inside a jar" structure. So I re-packaged it from the validate repo as of 2016-04-29 getodk/validate@65444de and it worked.