- Posts: 7
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Invalid Survey Structure XML file
- TIJ
- Topic Author
- Offline
- New Member
Less
More
6 years 7 months ago #158471
by TIJ
Invalid Survey Structure XML file was created by TIJ
Hi All,
I am trying to import a survey template in .lSS but encountered the following error message.
I tried importing via the GUI and the survey was imported successfully.
Are there any ways to know what structure issue are in the XML file?
{"id":1,"result":{"status":"Error: This is not a valid LimeSurvey survey structure XML file."},"error":null}
Regards
I am trying to import a survey template in .lSS but encountered the following error message.
I tried importing via the GUI and the survey was imported successfully.
Are there any ways to know what structure issue are in the XML file?
{"id":1,"result":{"status":"Error: This is not a valid LimeSurvey survey structure XML file."},"error":null}
Regards
Attachments:
The topic has been locked.
- TIJ
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 6 months ago #158742
by TIJ
Replied by TIJ on topic Invalid Survey Structure XML file
Anybody can help?
The topic has been locked.
- LouisGac
- Visitor
6 years 6 months ago #158761
by LouisGac
Replied by LouisGac on topic Invalid Survey Structure XML file
My 2 cents: the file is very big
The topic has been locked.
- TIJ
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 6 months ago #158763
by TIJ
Replied by TIJ on topic Invalid Survey Structure XML file
I managed to resolved the issues.. Thanks..
The topic has been locked.
- LouisGac
- Visitor
6 years 6 months ago #158768
by LouisGac
Replied by LouisGac on topic Invalid Survey Structure XML file
so, what was the problem?
The topic has been locked.
- TIJ
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
6 years 6 months ago #158824
by TIJ
Replied by TIJ on topic Invalid Survey Structure XML file
I re-do the whole survey one by one... re-importing each time after creating new questions....
Suspecting that the cause is the html widget generating some special char which cause the problem...
Suspecting that the cause is the html widget generating some special char which cause the problem...
The topic has been locked.
- liu_yifan
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
5 years 10 months ago #169942
by liu_yifan
Replied by liu_yifan on topic Invalid Survey Structure XML file
I ran into the same error even using the sample survey downloaded from LimeSurvey.
Could you share your code using API?
Could you share your code using API?
The topic has been locked.
- liu_yifan
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 1
5 years 10 months ago #169976
by liu_yifan
Replied by liu_yifan on topic Invalid Survey Structure XML file
I found the solution. It works with PHP. With Python, need an extra line of decode("utf-8").
The following user(s) said Thank You: LouisGac
The topic has been locked.