Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-18 Thread Alan Malloy
Sure, it'll be a little faster to encode and to decode if you can use CDATA. I doubt if that matters in any but a very small minority of cases. The real problem with data.xml is not its support for CDATA, but the fact that it can't find an official release. On Jan 18, 3:16 pm, jweiss wrote: > It

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-18 Thread jweiss
It might not make a lot of practical difference, but my understanding is that CDATA isn't parsed as XML, so if you have a lot of non-xml data, it's probably better to use CDATA so that it is not parsed when it's read back in. On Jan 17, 11:12 pm, Alan Malloy wrote: > It doesn't need CDATA - data.

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread Alan Malloy
It doesn't need CDATA - data.xml just automatically escapes XML special-characters if it sees them. On Jan 17, 4:12 pm, jweiss wrote: > By the way, the reason I stuck with prxml is its handling of CDATA, > which as far as I know, the newer lib doesn't do yet. > > On Jan 17, 8:10 am, cassiel wrot

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread jweiss
By the way, the reason I stuck with prxml is its handling of CDATA, which as far as I know, the newer lib doesn't do yet. On Jan 17, 8:10 am, cassiel wrote: > This is straight from the doc string: > > (with-out-str (p/prxml [:p {:class "greet"} [:i "Ladies & > gentlemen"]])) > > Works in Clojure

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread jweiss
I fixed up clojure.contrib.prxml to work with 1.3, at least it's working fine for me. You can get the jar from clojars with [weissjeffm/clojure.prxml "1.3.0-SNAPSHOT"] source is here: https://github.com/weissjeffm/clojure.prxml On Jan 17, 8:10 am, cassiel wrote: > This is straight from the do

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread Vinzent
Hiccup ? -- 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

Re: clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread cassiel
Ah: found this thread: https://groups.google.com/forum/#!topic/clojure-dev/IGD6Ziqt-QY So: would still be very obliged for a link to an XML-generating package working under 1.3.0. (I don't need to parse.) -- You received this message because you are subscribed to the Google Groups "Clojure" gro

clojure.contrib.prxml broken in Clojure 1.3.0

2012-01-17 Thread cassiel
This is straight from the doc string: (with-out-str (p/prxml [:p {:class "greet"} [:i "Ladies & gentlemen"]])) Works in Clojure 1.2.1: (:ok "\"Ladies & gentlemen\"") (that's pasted from the slime event buffer, hence the superfluous armour.) Fails in Clojure 1.3.0: clojure.lang.Numbers.lt(II)Z