make stock ssax:xml->sxml comply with the XML recommendation

Andy Wingo <[email protected]> Wed, 27 Feb 2008 00:06:05 +0100
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
--=-=-=

Hey SSAX folk,

I was recently bitten by ssax:xml->sxml's "intelligent" approach to
whitespace, which by default drops strings if they are not all
whitespace. Attached is a patch, committed to guile-lib, that makes the
default `ssax:xml->sxml' not drop whitespace that it thinks is
insignificant.

The fact that SSAX offers me the ability to make my own parser is beside
the point, I think; the default parser should do the right thing.

Cheers,

Andy
-- 
http://wingolog.org/


--=-=-=
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--=-=-=
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ssax-sxml mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ssax-sxml

--=-=-=--