[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Another lowdown->sxml-serializer problem
From: |
Andy Bennett |
Subject: |
Re: [Chicken-users] Another lowdown->sxml-serializer problem |
Date: |
Fri, 11 Oct 2013 15:36:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
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 lists of characters aren't really SXML either.
Agreed.
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.
Both ("http://call-cc.org/") and (#\space) are badly-formed sxml that
the sxml->html tooling will generally be ok with and most things that
use foldts generally will not be.
:-(
Regards,
@ndy
--
address@hidden
http://www.ashurst.eu.org/
0x7EBA75FF