enketo-core
enketo-core copied to clipboard
Add 'turbo' mode?
Some thoughts:
- (huge) performance-boost by requiring dates to always be wrapped inside
date()
in expressions - ~~disable repeat-position-injection (which is a workaround for https://opendatakit.github.io/xforms-spec/#a-big-deviation-with-xforms, and no longer necessary for recently converted xlsforms - this workaround is causing bugs that are not really fixable)~~ -
already done with odk:xforms-version="1.0.0"
These could be done as separate settings, but both require a tight control of the form definitions, and it seems only applicable to mini ecosystems such as OpenSRP, OpenClinica, Medic Mobile.
or two modes (that with flexible names so we can add/remove things):
- ~~
legacy
(whether old incorrect forms should be supported), default true~~ -
speedup/turbo
(performance boosts with reduced syntax support), default false
Instead of a legacy
mode it would be even cooler if pyxform added an attribute or class to indicate major changes such as no-repeat-reference-bug
. Clients could then disable the workaround for that incorrect syntax.
https://github.com/XLSForm/pyxform/issues/393