SVG export error

When I create a design in Carbide Create and then wish to export it as a SVG file, it creates the file but if I attempt to open it in Google Chrome I get an error ‘This XML file does not appear to have any style information associated with it. The document tree is shown below.’

I am running Carbide Create Build 474, Built on: 2020-07-20 on a Mac with macOS Mojave v. 10.14.6.

I can reproduce this with simple or complex designs. The example above is just a circle in a 4"x4" area. This is the entirety of the XML file created.

<svg width="286.229px" height="273.56px">
<circle cx="210.334" cy="75.8947" r="75.8947" stroke="black" stroke-width="1" fill="none"/>
</svg>

If I manually add style information from another known correct SVG file, it opens in all programs as expected. The file should look something like this:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="286.229px" height="273.56px">
<circle cx="210.334" cy="75.8947" r="75.8947" stroke="black" stroke-width="1" fill="none"/>
</svg>

Thank you for bringing this to our attention — I’ve put it in as a bug report.

This topic was automatically closed after 30 days. New replies are no longer allowed.