-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add xforms version #430
Add xforms version #430
Conversation
@lognaturel, there is one pesky test that outputs |
Taking a look now! Those XForm2json tests are really frustrating. Do you know of anyone using that code to attempt to parse XForms to get JSON? Also, it looks like this branch as pushed fails several tests. I had to rebase on master to get to the single failure you're describing. |
The XForms version is being treated as a setting and needs to be moved from a model attribute to a setting in the json representation built from XML. |
lognaturel@f392273 is a fix. This PR introduces a |
Thank you so much! Sorry, I messed up the branch. Indeed, it shouldn't be an XLSForm setting! |
7ced541
to
870950e
Compare
Codecov Report
@@ Coverage Diff @@
## master #430 +/- ##
==========================================
+ Coverage 82.72% 82.73% +0.01%
==========================================
Files 23 23
Lines 3386 3389 +3
Branches 786 786
==========================================
+ Hits 2801 2804 +3
Misses 439 439
Partials 146 146
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We took a meandering path to get there but this now looks really great to me! Thanks for bearing with my thinking through the alternatives, @MartijnR. I think we've ended up with a reasonable solution.
Thank you! Turned out to be just a simple change, but it got me to explore the exciting world of pyxform. Ready for my next assignment! (No, I'm joking, I need a lengthy rest first!) |
|
closes #393