This code: i use dom4j version 1.6.1
clojure version 1.3 when i write below code: (DocumentHelper/createDocument "accountInfo") cause this error: ClassCastException java.lang.String cannot be cast to org.dom4j.Element > user/eval180 (NO_SOURCE_FILE:34) but if i call this: > > (DocumentHelper/createDocument) result is : > #<DefaultDocument org.dom4j.tree.DefaultDocument@17f1841 [Document: name > null]> why call DocumentHelper.createDocument(string name) error? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en