On Dec 14, 2010, at 18:00 , Ralph wrote:

> Any reason why the doc string has been removed from clojure.xml/emit
> (and emit-element)? Are these functions deprecated?
> 

Well, they're buggy.
http://www.assembla.com/spaces/clojure/search?q=clojure.xml+emit

On issue 412 Stuart Halloway explains:

If a var is (a) public (b) has a docstring and (c) has :added metadata, then 
the Clojure team is committed to supporting it. These vars don't meet the 
criteria. In the context of a broader overhaul of XML support these might 
become official APIs.

On issue 410 Chris Houser suggests:

Please consider the solution provided by clojure.contrib.lazy-xml/emit which 
uses javax.xml.transform classes to fix not only these bugs (#410 and #408) but 
also support indent, xml-declaration, and encoding options.

// ben

-- 
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

Reply via email to