<< Back to previous view

[DXML-23] Prefix is null in Inkscape SVG Created: 26/May/14  Updated: 13/Jun/14

Status: Open
Project: data.xml
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Christian Weilbach Assignee: Ryan Senior
Resolution: Unresolved Votes: 0
Labels: None

Ubuntu 14.04 amd64, openjdk-7, clojure 1.6.0, data.xml 0.0.7.


When loading a fairly basic inkscape XML (1) in data.xml with (emit-str (parse (io/reader ".../minimal.svg"))), I get:

XMLStreamException Prefix cannot be null
com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeAttribute (XMLStreamWriterImpl.java:575)
clojure.data.xml/write-attributes (xml.clj:39)
clojure.data.xml/emit-start-tag (xml.clj:50)
clojure.data.xml/emit-event (xml.clj:67)
clojure.data.xml/emit (xml.clj:367)
clojure.data.xml/emit-str (xml.clj:375)
xml-test.core/eval1512 (form-init517397699703209853.clj:1)
clojure.lang.Compiler.eval (Compiler.java:6703)
clojure.lang.Compiler.eval (Compiler.java:6666)
clojure.core/eval (core.clj:2927)
clojure.main/repl/read-eval-print-6625/fn-6628 (main.clj:239)
clojure.main/repl/read-eval-print--6625 (main.clj:239)

(1) https://gist.github.com/ghubber/34dbc54a9cf30ce68b8a

Comment by John Walker [ 13/Jun/14 9:26 PM ]

What is your system encoding?
Edit: Nevermind. It's specified in emit. Looks to be related to http://dev.clojure.org/jira/browse/DXML-4

Generated at Sat Mar 28 12:48:43 CDT 2015 using JIRA 4.4#649-r158309.