<< Back to previous view

[DXML-48] Version 0.2.0-alpha3 missing on maven central Created: 21/Aug/17  Updated: 16/Oct/17  Resolved: 16/Oct/17

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

Type: Defect Priority: Major
Reporter: Benjamin Albrecht Assignee: Ryan Senior
Resolution: Completed Votes: 0
Labels: None


 Description   

According to the "Installation" section in the README, the current preview release is 0.2.0-alpha3.

https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.clojure%22%20AND%20a%3A%22data.xml%22 shows 0.2.0-alpha2 (released on 25-Dec-2016) as the latest version.

Please upload 0.2.0-alpha3 to maven central.



 Comments   
Comment by Malcolm Sparks [ 04/Oct/17 1:35 PM ]

This can be closed, artefact is uploaded.





[DXML-44] AbstractMethodError: Method clojure/data/xml/node/Element.empty() Created: 03/Apr/17  Updated: 16/Oct/17  Resolved: 16/Oct/17

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

Type: Defect Priority: Major
Reporter: Alan Thompson Assignee: Ryan Senior
Resolution: Completed Votes: 2
Labels: bug
Environment:

Ubuntu 16.04, Java8, Clojure 1.8.0



 Description   

When trying to use `postwalk`, I get this error:

Caused by: java.lang.AbstractMethodError: Method clojure/data/xml/node/Element.empty()Lclojure/lang/IPersistentCollection; is abstract
at clojure.data.xml.node.Element.empty(node.clj)
at clojure.core$empty.invokeStatic(core.clj:5043)
at clojure.walk$walk.invokeStatic(walk.clj:49)
at clojure.walk$postwalk.invokeStatic(walk.clj:52)
at clojure.walk$postwalk.invoke(walk.clj:52)

The problem does not occur with version 0.0.8



 Comments   
Comment by Aaron Iba [ 08/May/17 6:47 PM ]

I had the same problem. If you're looking for a workaround, you prewalk special casing clojure.data.xml.node.Element values:

(walk/prewalk (fn [x]
                (if (instance? clojure.data.xml.node.Element x)
                  (into {} x)
                  (do-whatever x)))
              x)
Comment by Herwig Hochleitner [ 16/Oct/17 2:36 PM ]

released 0.2.0-alpha3





Generated at Sat Oct 21 23:46:00 CDT 2017 using JIRA 4.4#649-r158309.