When trying to export an issue with the Native XML Plugin I get the message “Could not convert issues.”. I’m using OJS 184.108.40.206.
First I searched the forum and as one post mentioned, I changed strftime from using %F to using %Y-%m-%d in plugins/importexport/native/filter/SubmissionNativeXmlFilter.inc.php but to no effect - I’m in linux and this should be working from the start with %F.
I know there’s something wrong with the XML output, but not exactly what.
The error I get in the console is:
2017/03/27 10:45:05 [error] 7440#7440: *28254 FastCGI sent in stderr: “PHP message: PHP Warning: DOMDocument::schemaValidate(): Internal error: xmlSchemaVDocWalk, there is at least one entity reference in the node-tree currently being validated. Processing of entities with this XML Schema processor is not supported (yet). Please substitute entities before validation… in /home/build_vascularc/www/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 126
PHP message: ojs2: Could not convert issues” while reading response header from upstream, client: 0:0:0:0, server: domain.com, request: “POST /index.php/vc/management/importexport/plugin/NativeImportExportPlugin/exportIssues HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9019”, host: “domain.com”, referrer: “http://domain.com/index.php/vc/management/importexport/plugin/NativeImportExportPlugin”
So I went in /home/build_vascularc/www/lib/pkp/classes/xslt/XMLTypeDescription.inc.php and commented out line 126 in order to get the XML output regardless if it’s valid or not.
// if (!$xmlDom->schemaValidate($this->_validationSource)) return false;
Now when exporting an issue, the error log doesn’t show anything obviously and I get my file. But it’s not schema validated. The file contents of the unvalidated issue export XML file may be found here https://drive.google.com/open?id=0B7_9Giyr8wpWbWFlM2RmLWpGNGM
Can someone help with pointing out what’s wrong with the output file or -less likely- the schema?