Created attachment 127530 [details]
XML file from WHO clinical trials registry
To reproduce error:
Data > XML Source ...
Select an XML file that begins with:
<?xml version='1.0' encoding='UTF-8' ?>
^ LibreOffice will not read a file that begins like this.
Change file to the following:
<?xml version="1.0" encoding="UTF-8" ?>
LibreOffice will read the file perfectly.
This is important because the WHO Clinical Trials registry automatically generates XML files of the first type, and need to be manually converted to the second. I have attached an example XML file to this bug report.
Here is the link to the WHO page where the XML file was generated:
In xml file, there was this:
<?xml version='1.0' encoding='UTF-8" ?>
(with double quote at the end)
But even after replacing this one with simple quote, it doesn't open the XML file on pc Debian x86-64 with master sources updated today.
However, I don't have any error message, it just does nothing and "Import" button stays disabled.
Let's put this one to NEW.
Apologies, I must have uploaded the wrong version of the example file.
It works in LibreOffice with all double-quotes, and it doesn't if there are single quotes.
XML files generated from SAP J2EE contain single quotes too, and must be manually changed to import with Libreoffice.