https://bugs.documentfoundation.org/show_bug.cgi?id=102337

            Bug ID: 102337
           Summary: Data > XML Source ... does not read XML if the version
                    number and encoding are specified with single quotes
           Product: LibreOffice
           Version: 5.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mu...@bgcarlisle.com

Created attachment 127530
  --> https://bugs.documentfoundation.org/attachment.cgi?id=127530&action=edit
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:

http://apps.who.int/trialsearch/

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to