Re: Bug in clojure.contrib.lazy-xml: apostrophe not escaped correctly

2009-02-19 Thread Isak Hansen
On Thu, Feb 19, 2009 at 12:20 AM, Stephan Mühlstrasser wrote: > > Hi, > > I believe the following is a bug in clojure.contrib.lazy-xm: > > user=> (use 'clojure.contrib.lazy-xml) > nil > user=> (emit { :tag :a, :attrs { :b "bloody apostrophe's :-)" }}) > > > nil > > The XML is broken, because th

Re: Bug in clojure.contrib.lazy-xml: apostrophe not escaped correctly

2009-02-18 Thread Chouser
On Wed, Feb 18, 2009 at 6:20 PM, Stephan Mühlstrasser wrote: > > user=> (use 'clojure.contrib.lazy-xml) > nil > user=> (emit { :tag :a, :attrs { :b "bloody apostrophe's :-)" }}) > > > nil Fixed, thanks for the report. --Chouser --~--~-~--~~~---~--~~ You receiv

Bug in clojure.contrib.lazy-xml: apostrophe not escaped correctly

2009-02-18 Thread Stephan Mühlstrasser
Hi, I believe the following is a bug in clojure.contrib.lazy-xm: user=> (use 'clojure.contrib.lazy-xml) nil user=> (emit { :tag :a, :attrs { :b "bloody apostrophe's :-)" }}) nil The XML is broken, because the embedded apostrophe in attribute b is not replaced with an XML entity. The apostrop