ODK Validate Errors: >> Something broke the parser. See above for a hint. org.javarosa.xpath.XPathUn

1,484 views
Skip to first unread message

jb...@africanschoolofeconomics.com

unread,
Jul 25, 2018, 1:30:15 PM7/25/18
to Ona Community
Hi Ona community,
I tried to upload my first xlsform into ona server and I have the message below
"ODK Validate Errors: >> Something broke the parser. See above for a hint. org.javarosa.xpath.XPathUnsupportedException: XPath evaluation: unsupported construct [filter expression] Result: Invalid"
kindly help me to the real matter.

thanks
Menage3.xls

Faith from Ona

unread,
Jul 26, 2018, 5:55:17 AM7/26/18
to ona-co...@googlegroups.com

Sent to jb...@africanschoolofeconomics.com and ona-co...@googlegroups.com

Hello Jboco, 

The error message is thrown when uploading your form because it contains very many syntax errors for example; 

  • A wrong relevant condition on row 39 - it creates a dependency cycle since it's referring to the same field. Delete it 
  • Spaces in some field names in the choices work sheet e.g. niveau_etudeCM_list = secondaire cycle 2 & secondaire cycle 1, lieu_defectat_enf_list = spaces in field names and some are too long
  • Some field names in the choices worksheet are too long exceeding the character limit (32 characters) e.g. type_latrine_list , gestboues_vidge, rntraitment_eau, restants_mangé_list 
  • Some field names in the choices worksheet have apostrophes which is a special character
  • Row 245 has a relevant condition that creates a dependency cycle - Some variables reference to this field. Edit it or delete it. 

Make the above changes then try uploading the form again. Check to confirm that all field names under the name column are formatted correctly and that all relevant conditions are correct before uploading the form. 

Regards,
Faith

See our community forum & help site for more information!

--

Faith Faith from Ona
--
Collect, Analyze and Share Data - https://ona.io/
---
You received this message because you are subscribed to the Google Groups "Ona Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ona-communit...@googlegroups.com.
To post to this group, send email to ona-co...@googlegroups.com.
Visit this group at https://groups.google.com/group/ona-community.
To view this discussion on the web visit https://groups.google.com/d/msgid/ona-community/7a0164e8-e713-480b-820b-d6e4977a4522%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Attachments icon Menage3.xls
intercom

Faith from Ona

unread,
Jul 26, 2018, 5:55:17 AM7/26/18
to ona-co...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages