[Chicken-users] whitespace in sxml

2015-05-21 Thread Nathaniel Rudavsky-Brody
Hello, When using ssax:xml-sxml, I've been having the same problem with lost whitespace as is described here: http://sourceforge.net/p/ssax/mailman/message/28005086/ However, I can't get the solution given there to work: (define ssax:reverse-collect-str-drop-ws ssax:reverse-collect-str) Is

Re: [Chicken-users] whitespace in sxml

2015-05-21 Thread Matt Gushee
Hi, Nathaniel-- Have you looked at the ssax source code? It looks like it would be quite easy to make the change you need (though I haven't tried it). Of course, that doesn't help if you are trying to distribute an egg to the public that depends on ssax. Also, I see from a comment in SSAX.scm

Re: [Chicken-users] whitespace in sxml

2015-05-21 Thread Matt Gushee
Hi, Nathaniel-- Unfortunately, I do not have a solution for this. However, I was curious, because I saw that Oleg stated the white-space removing behavior was deliberate. That seemed questionable to me, so I referred to the XML spec [

Re: [Chicken-users] whitespace in sxml

2015-05-21 Thread Nathaniel Rudavsky-Brody
Hi Matt, Thanks for the ideas. xml-sxml in Guile has a trim-whitespace option, but I don't know if it changes behavior for whitespace-only nodes. I was (am?) hoping to find a way to do the described customization in chicken without having to dive into the ssax code, since I imagine that would