Open jkuester opened 2 years ago
Once this issue has been resolved, https://github.com/medic/cht-core/issues/6537 should be evaluated to make sure we can move cht-core and cht-conf to Python3.
Noting the nondeterministic ordering of XML attributes really messes up the sha256 hashes we include :( This was uncovered in a recent forum thread.
This fork of https://github.com/XLSForm/pyxform is many years out of date.
Updating to the latest version of pyxform would give the following benefits:
The https://github.com/medic/pyxform/tree/uplift_to_v1.10.0 branch has a proof-of-concept upgrade to version
1.10.0
of XLSFORM/pyxform. I was able to successfully convert this form using a slightly modified version of cht-conf. Then I was able to successfully submit the defaultdelivery
form using both the new version of Enekto in CHT 4.0.0 and also the old version of Enketo in 3.x.Thoughts:
-W ignore:"Data Validation extension is not supported"
in ourxls2xform-medic
call somehow to suppress the warning.label
elements are still getting added to thebody
even for empty labels. This might be intentional (as part of the spec). Or, it might be because I did not add the custom label code to myuplift_to_v1.10.0
.label::en
) in our translatable column instead of following the spec and puttinglabel::English (en)
uplift_to_v1.10.0
to support copyinginstance::tag
values, but we may want to find a better way to do this since it seems like this is out of spec