chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] whitespace in sxml


From: Matt Gushee
Subject: Re: [Chicken-users] whitespace in sxml
Date: Thu, 21 May 2015 09:50:41 -0600

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 that the authors are aware that the whitespace-stripping behavior is non-conformant. Personally, I think it is a poor choice on their part (or at least, as someone suggested in the discussion you referenced, it should be easy to modify that behavior), but I suppose they have their reasons.

--
Matt

On Thu, May 21, 2015 at 8:35 AM, Nathaniel Rudavsky-Brody <address@hidden> wrote:
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 this possible in Chicken? Or is there another way to redefine xml->sxml without taking everything apart?

Many thanks,

Nathaniel

_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]