Re: XML parsing bug?
Andy Wingo <[email protected]> Sat, 27 Aug 2011 13:55:17 +0200
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Sat 27 Aug 2011 05:18, [email protected] writes: > ; ssax:reverse-collect-str-drop-ws LIST-OF-FRAGS -> LIST-OF-FRAGS > > To recap: the observed behavior is intentional. There is a way to > change it. FWIW this seemed reasonable to me when I first started with SSAX, but it surprised me later on in another context where I needed the whitespace. By that time I had forgotten about this procedure and so spent some time in figuring out what went wrong. I would suggest that packagers of SSAX provide this whitespace-trimming behavior as an option that is easy to enable, and furthermore that it be off by default. That's the only way to preserve all information in the original document. Regards, Andy -- http://wingolog.org/ ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev