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

            Bug ID: 170097
           Summary: Libreoffice Calc XML source does not work if file has
                    a DOCTYPE declaration.
           Product: LibreOffice
           Version: 25.8.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
If you try to import data from an XML file that includes a DOCTYPE declaration,
the 'Map to Document' section remains blank after you select the XML file.
Deleting the DOCTYPE declaration from the XML file allows it to work.

I have not tested whether other declarations also cause it to fail.

Steps to Reproduce:
1. Create an XML file like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application>
<outercontainer>
<dataitem>Hello World</dataitem>
</outercontainer>
2.Open Calc, select Data|XML Source
3.Select the XML file.

Actual Results:
The "Map to Document' element remains blank

Expected Results:
The Map to Document element should fill in with the XML schema.


Reproducible: Always


User Profile Reset: No

Additional Info:
Removing the <!DOCTYPE application> line and selecting the file again causes
the 'Map to Document' to be filled in.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to