You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating to the latest version of pyxform would give the following benefits:
DETERMINISTIC ORDERING OF XML ATTRIBUTES
This is the most important change as currently, regenerating a form xml that has not changed can still result in a significant diff since the ordering of attributes in the xml elements is not deterministic and their order can change (even if the content of the xlsx file stayed the same).
Access to the latest ODK spec features and new fixes in pyxform
Seem to be getting a new warning printed when converting xlsx files that contain cell validation. I think we could include -W ignore:"Data Validation extension is not supported" in our xls2xform-medic call somehow to suppress the warning.
label elements are still getting added to the body 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 my uplift_to_v1.10.0.
This will cause display issues in app (may need webapp change?)
pyxform no longer likes the way that we only include the language tag (e.g. label::en) in our translatable column instead of following the spec and putting label::English (en)
Continuing to just put the tag seems to still work fine, but does cause a warning to be printed.
But, updating to the proper spec format could require changes in cht-core to support?
I have kept the custom code in uplift_to_v1.10.0 to support copying instance::tag values, but we may want to find a better way to do this since it seems like this is out of spec
Also, more investigation is needed to know if we need out custom SMS code in pyxform still or if the added support is sufficient.
The text was updated successfully, but these errors were encountered:
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/>
instead of omitting it. XLSForm/pyxform#543<label/>
instead of omitting it. XLSForm/pyxform#439label::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 specThe text was updated successfully, but these errors were encountered: