We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d09d5 commit bf7e22cCopy full SHA for bf7e22c
src/main/clojure/clojure/data/xml/event.clj
@@ -39,6 +39,18 @@
39
(defrecord CommentEvent [str])
40
(defrecord QNameEvent [qn])
41
42
+; For backwards compatibility only.
43
+; See: https://clojure.atlassian.net/browse/DXML-75?focusedCommentId=57959
44
+(defn ->EndElementEvent
45
+ ([] ;; Deprecated
46
+ (EndElementEvent. nil nil nil))
47
+
48
+ ([tag nss location-info]
49
+ (EndElementEvent. tag nss location-info)))
50
51
+(def ^{:deprecated "0.2.0-alpha11"} end-element-event
52
+ (->EndElementEvent nil nil nil))
53
54
;; Event Generation for stuff to show up in generated xml
55
56
(let [second-arg #(do %2)
0 commit comments