Help with 'Invalid XForm' Error Message when Trying to Convert .xls to xform using XLSForm Online

Hi Everyone - I made a survey using ODK Build (https://build.opendatakit.org/) and successfully exported it as an xls (attached below). When using XLSForm Online to try and convert the xls file to an xform for ODK, I'm met with the following error message:

Error: b'ODK Validate Errors:\n>> XForm is invalid. See above for the errors.\norg.javarosa.xform.parse.XFormParseException: Encountered a problem with display condition for node [${B2}] at line: (), Bad node: org.javarosa.xpath.parser.ast.ASTNodeAbstractExpr@3f102e87\n\nResult: Invalid'

I'm on 64-bit Windows 7 if that's of any help.

Any help would be greatly appreciated - thanks much and take care

SHARP-Baseline-v1-export.xlsx (30.1 KB)

I was able to fix this by deleting every "()" in column F and have been able to successfully convert the file.

2 Likes

This sounds like a bug and has been filed at https://github.com/opendatakit/build/issues/208. PRs are welcome!