data.xml

IllegalArgumentException when trying to emit a boolean value

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    JRE 1.7, OS X 10.7.5, Clojure 1.4 & 1.5, data.xml 0.0.7

Description

I can create an element with a boolean value but I can't emit it...

user=> (emit-str (element :something {} false))
IllegalArgumentException No implementation of method: :gen-event of protocol: #'clojure.data.xml/EventGeneration found for class: java.lang.Boolean clojure.core/-cache-protocol-fn (core_deftype.clj:541)

Activity

Ryan Senior made changes -
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Hide
Ryan Senior added a comment -

Thanks for the bug report. The fix is in ffd6957baa0cf752fa0678be7f2a3393eab16739 and should be released with 0.0.8.

Show
Ryan Senior added a comment - Thanks for the bug report. The fix is in ffd6957baa0cf752fa0678be7f2a3393eab16739 and should be released with 0.0.8.
Ryan Senior made changes -
Resolution Completed [ 1 ]
Status In Progress [ 3 ] Resolved [ 5 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: