https://github.com/XLSForm/pyxform/pull/776
XLSForm/pyxform#776