Re: clojure.xml & whitespace

2009-02-18 Thread Remco van 't Veer
On Wed, Feb 18, 2009 at 2:20 PM, mikel wrote: >> On Wed, Feb 18, 2009 at 12:59 PM, Christophe Grand >> >> > clojure.xml currently removes significant whitespaces. I guess that >> > people processing xml as data want this behavior (while people >> > processing xml as mark-up don't). What's the be

Re: clojure.xml & whitespace

2009-02-18 Thread Mark Volkmann
On Wed, Feb 18, 2009 at 8:04 AM, Christophe Grand wrote: > Mark Volkmann a écrit : >> On Wed, Feb 18, 2009 at 7:40 AM, Christophe Grand >> wrote: >> >>> Remco van 't Veer a écrit : >>> Maybe *ignore-whitespace* is a beter name since it doesn't remove anything and will retain some of i

Re: clojure.xml & whitespace

2009-02-18 Thread Christophe Grand
Mark Volkmann a écrit : > On Wed, Feb 18, 2009 at 7:40 AM, Christophe Grand > wrote: > >> Remco van 't Veer a écrit : >> >>> Maybe *ignore-whitespace* is a beter name since it doesn't remove >>> anything and will retain some of it. I would prefer it to default to >>> true. >>> >>>

Re: clojure.xml & whitespace

2009-02-18 Thread Mark Volkmann
On Wed, Feb 18, 2009 at 7:40 AM, Christophe Grand wrote: > > Remco van 't Veer a écrit : >> Maybe *ignore-whitespace* is a beter name since it doesn't remove >> anything and will retain some of it. I would prefer it to default to >> true. >> > > I would prefer it to default to false since it's t

Re: clojure.xml & whitespace

2009-02-18 Thread Christophe Grand
Remco van 't Veer a écrit : > Maybe *ignore-whitespace* is a beter name since it doesn't remove > anything and will retain some of it. I would prefer it to default to > true. > I would prefer it to default to false since it's the standard way to handle whitespace in XML. (Ignorable whitespac

Re: clojure.xml & whitespace

2009-02-18 Thread mikel
> > On Wed, Feb 18, 2009 at 12:59 PM, Christophe Grand > > wrote: > > > clojure.xml currently removes significant whitespaces. I guess that > > people processing xml as data want this behavior (while people > > processing xml as mark-up don't). What's the best way to accomodate > > these to use

Re: clojure.xml & whitespace

2009-02-18 Thread Remco van 't Veer
Maybe *ignore-whitespace* is a beter name since it doesn't remove anything and will retain some of it. I would prefer it to default to true. On Wed, Feb 18, 2009 at 12:59 PM, Christophe Grand wrote: > > clojure.xml currently removes significant whitespaces. I guess that > people processing xml