[Libreoffice-bugs] [Bug 139579] New: Impress does not import SVG graphic with xml and DOCTYPE tag

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 13 08:48:45 UTC 2021


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

            Bug ID: 139579
           Summary: Impress does not import SVG graphic with xml and
                    DOCTYPE tag
           Product: LibreOffice
           Version: 7.0.3.1 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice-bugzilla at fabbrain.de

Description:
When an SVG file starts with an xml tag and a DOCTYPE tag then IMPRESS can't
import it by drag'n'drop. Without the tags the import works fine.

Example:
<?xml version="1.0" encoding="windows-1252"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">


Steps to Reproduce:
1. Take an SVG file that starts with an xml and a DOCTYPE tag, e.g. from
https://www.flaticon.com/free-icon/copyright_100515
2. Drag'n'drop it into IMPRESS
3. Observation: the graphic is not visible in IMPRESS, but the undo-button
offers you to undo the import.

Actual Results:
The graphic is not visible in IMPRESS, but the undo-button offers you to undo
the import.

Expected Results:
The graphic should be visible.


Reproducible: Always


User Profile Reset: No



Additional Info:
When I remove the xml tag and the DOCTYPE tag from the SVG file, the
drag'n'drop-import into IMPRESS works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210113/4b7d5454/attachment.htm>


More information about the Libreoffice-bugs mailing list