Dear Team @Kal_Lam @stephanealoo
I have the same problem with my forms. I can´t preview. I also cant Redeploy my form. Please assist. Ive been trying to upload the xml files and xls form but im restricted as im a new user`.
Message error:
- PCDATA invalid Char value 2
@sibusiso, would you mind validating your xlsform through this online validator first? It should be able to identify the syntax issues if there are any.
Dear @Kal_Lam this is what I’m getting
Error: ODK Validate Errors:
[Fatal Error] :1:115723: An invalid XML character (Unicode: 0x2) was found in the element content of the document.
XML is invalid. See above for the errors.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 115723; An invalid XML character (Unicode: 0x2) was found in the element content of the document.
The following files failed validation:
${aPPVQGTjScACwu5snoPgYe}.xml
Result: Invalid
aPPVQGTjScACwu5snoPgYe.xlsx (84.3 KB)
@sibusiso, when having a closer look at your xlsform, I see that your choices tab has labels missing:
Could you check them out and either add the labels if needed or delete the list_name
if not needed? You will need to repeatedly validate your xlsform through this online validator after fixing the syntax issues until you see no more syntax issues.