Bug 390962 - Svg file with svg namespace prepended to each tag doesn't open right.
Summary: Svg file with svg namespace prepended to each tag doesn't open right.
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-23 17:36 UTC by wolthera
Modified: 2019-10-28 16:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Same svg as in the text. (1.01 KB, image/svg+xml)
2018-02-23 17:36 UTC, wolthera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wolthera 2018-02-23 17:36:58 UTC
Created attachment 110945 [details]
Same svg as in the text.

Sometimes inkscape creates these, but not always.

None the less, firefox and chrome open this. I don't know enough about xml to say how right it is.

Example svg:
---------

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg:svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink"
   width="8.2677164in"
   height="11.692913in"
   viewBox="0 0 210 297"
   version="1.1"
   id="svg8">
  <svg:defs
     id="defs2">
  </svg:defs>
  <svg:g
     style="fill:#8ed791;fill-opacity:1"
     id="layer1">
    <svg:rect
       style="opacity:1;vector-effect:none;fill:#8ed791 icc-color(Ekta-Space-PS5, 0.63243246, 0.81621623, 0.58918917);fill-opacity:1;stroke:none;stroke-width:0.05291667;stroke-linecap:round;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none"
       id="rect815"
       width="140.60715"
       height="96.761909"
       x="49.892857"
       y="55.851189"
       ry="48.380955" />
  </svg:g>
</svg:svg>
Comment 1 wolthera 2019-10-28 16:16:32 UTC
Boud, this is an svg bug, not a resource tags bug...?
Comment 2 Halla Rempt 2019-10-28 16:24:08 UTC
Correct, I was a bit too sanguine.