Hi,
Empty attributes now seem to decode to the string "()".
Fixed.
Thanks! :-) That works for me now:
-----
#;4> (html->sxml empty)
(*TOP* (div (@ (data "")) "empty"))
-----
During " deserialisation when inside an attribute, we seem
to get data from earlier in the stream introduced:
I couldn't reproduce this. Could you check with the latest fix?
Which CHICKEN are you using? I can reproduce it with 0.5.2 on 4.9.0rc1:
-----
#;5> (html->sxml content)
(*TOP* (br) "\r\n" (br) "\r\n" (div (@ (data "(sxml (@ (attr
\"\r\nbr\r\nbr12345\"\r\nbr\r\nbr)) body)")) "div body"))
-----
...but not with 0.5.2 on 4.8.0.4.
-----
#;4> (html->sxml content)
(*TOP* (br) "\r\n" (br) "\r\n" (div (@ (data "(sxml (@ (attr
"12345")) body)")) "div body"))
-----
With 0.5.3 on 4.9.0rc1 it seems to work:
-----
#;5> (html->sxml content)
(*TOP* (br) "\r\n" (br) "\r\n" (div (@ (data "(sxml (@ (attr \"12345\"))
body)")) "div body"))
-----
...but perhaps it's worth chasing this down a bit further?
Thanks for all your help with this. :-)
Regards,
@ndy
--
[email protected]
http://www.ashurst.eu.org/
0x7EBA75FF
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users