View Issue Details

IDProjectCategoryView StatusLast Update
13411Feature requestsImport/Exportpublic2018-02-23 10:36
ReporterDenisChenu Assigned ToDenisChenu  
Status assignedResolutionopen 
Summary13411: Show xml error when import
DescriptionWhen import a bad XML we have only 'It's a bad XML or not a LimeSurvey xml'
I think it can be great if we can return XML errors in list
Additional InformationI already have the patch idea :
$xml = simplexml_load_string($sXMLdata, 'SimpleXMLElement', LIBXML_NONET);
if($xml!==false) {
foreach(libxml_get_error) …
return $results;
if($xml->LimeSurveyDocType != 'Survey') {
 $results['error'] = gT("This is not a LimeSurvey survey structure XML file.");
return $results

But io wait for merge master in develop since we don't add new feature in master
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-02-23 10:36 DenisChenu New Issue
2018-02-23 10:36 DenisChenu Status new => assigned
2018-02-23 10:36 DenisChenu Assigned To => DenisChenu
2018-02-23 10:36 DenisChenu Additional Information Updated View Revisions