data.xml

Prefix is null in Inkscape SVG

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Ubuntu 14.04 amd64, openjdk-7, clojure 1.6.0, data.xml 0.0.7.

Description

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

Activity

No changes have yet been made on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: