On Wed, Feb 18, 2009 at 2:20 PM, mikel <mev...@mac.com> 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 best way to accomodate >> > these to use cases? Through a *remove-all-whitespaces* var? > > On Feb 18, 6:29 am, "Remco van 't Veer" <rwvtv...@gmail.com> wrote: >> 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. > > It's not obvious which thing a true value for *ignore-whitespace* > does; "ignore" in the sense of pretend it in't there? Or "ignore" in > the sense of skip over it, but leave it in? > > Maybe the Common Lisp convention would be more clear: *preserve- > whitespace*
I agree that's beter. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---