[Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
Good morning-- Or good afternoon if you're in one of those other time zones. I have observed the following undesired behavior: 1. Take a Markdown fragment containing a link, e.g.: This fragment contains a link to [Chicken Scheme](http://call-cc.org). 2. Convert w/ markdown-sxml: ((p This

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread John Cowan
Matt Gushee scripsit: 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not well-formed SXML. Not only is the URL incorrectly being wrapped in

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Andy Bennett
Hi, 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not well-formed SXML. Not only is the URL incorrectly being wrapped in a list, but the

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread John Cowan
Andy Bennett scripsit: Unfortunately some of the SXML tooling is OK with something that isn't an element name appearing in the car of a list and some of it isn't. Be conservative in what you do, liberal in what you accept from others. Any routine that purports to generate SXML should do just

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
Hi, John etc.-- On Fri, Oct 11, 2013 at 7:58 AM, John Cowan co...@mercury.ccil.org wrote: 2. Convert w/ markdown-sxml: ((p This (#\space) fragment (a (@ (href (http://call-cc.org/;))) Chicken (#\space) Scheme) .)) Well, evidently this is a bug in markdown-sxml, since the above is not

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Moritz Heidkamp
Hi Matt, Matt Gushee m...@gushee.net writes: I have observed the following undesired behavior: [...] Any solutions for this? I'm sorry that I didn't get around to changing Lowdown so that it produces SXML conformant with the spec, yet. In the meantime you can use this code to clean it up I

Re: [Chicken-users] Another lowdown-sxml-serializer problem

2013-10-11 Thread Matt Gushee
That seems to work. Thank you very much! On Fri, Oct 11, 2013 at 4:07 PM, Moritz Heidkamp mor...@twoticketsplease.de wrote: Hi Matt, Matt Gushee m...@gushee.net writes: I have observed the following undesired behavior: [...] Any solutions for this? I'm sorry that I didn't get around to