Hi, I’m receiving the following error when I attempt to copy and past an SVG file into my designer window.
SerializationException: Unexpected parsing error during XML deserialization. caused by org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
I tried to upload the .svg file in question, but the post editor indicates it’s not a permitted file type. I can email it if anyone wants to test.
So this is working now. I have no idea what has changed. Dragging and dropping it on threw an error before, and now the same action works just fine. Same svg file as previously tested…very odd.
No problem - I’ve definitely seen some “weird” behavior out of the third party library we use to import and parse the SVGs.
As a general tip, I find that using Inkscape, then Path -> Simplify, then saving as a ‘Plain SVG’ gives the best results for compatibility with Ignition.
I’m having a similar problem with importing a SVG file. I’m taking a graphic that was saved as an Inkscape SVG and when I drag it to my window, I get this:
SAXIOException: The prefix “rdf” for element “rdf:RDF” is not bound.
caused by org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 12; The prefix “rdf” for element “rdf:RDF” is not bound.
I would be happy post the more detailed error message if needed.