<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Impress does not import SVG graphic with xml and DOCTYPE tag"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=139579">139579</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Impress does not import SVG graphic with xml and DOCTYPE tag
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.3.1 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Impress
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>libreoffice-bugzilla@fabbrain.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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"
"<a href="http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd</a>">


Steps to Reproduce:
1. Take an SVG file that starts with an xml and a DOCTYPE tag, e.g. from
<a href="https://www.flaticon.com/free-icon/copyright_100515">https://www.flaticon.com/free-icon/copyright_100515</a>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>