Error: this Survey XML file is corrupt
Summary | This article describes how resolve a file corruption error which could prevent agents from connecting to a survey via AskiaFace |
Applies to | AskiaFace |
Written for | Field Managers |
Keywords | error, corrupt, XML, face, iPad, Android |
AskiaFace uses the XML version of the QEX that was created by the survey programmers.
It can happen that while creating the QEX, some characters are not compatible in XML. This can lead to this error being displayed on agent devices.
Here is an example corrupted file to test.
To solve this,
- Save your QEX as XML from AskiaDesign.
- Copy the content of this XML file and paste it in an xml online validator (http://validator.w3.org/).
- Run the validation and find out where the error is.
- Amend your QEX file by re-typing the question or response name that had an invalid character. In this example, you can check that it takes one "delete" key press to remove the extra invisible character between "6" and "_" (check also the name of the screen in screen mode).
- Update the working copy of the survey with Supervisor and the agents won't have the error again.