On Sat, Nov 23, 2013 at 11:19 AM, Jim Ursetto wrote:
> Alex,
>
> Looks like there's a regression of sorts in html-parser 0.5.1.
>
> 0.5.0
>
> #;> (html->sxml "")
> (*TOP* (foo (@ (bar
>
> 0.5.1
>
> #;> (html->sxml "")
> Error: (cadr) bad argument type: ()
>
Oops, fixed.
Arguably, empty attributes should result in a value of "" as per
> http://dev.w3.org/html5/markup/syntax.html#syntax-attr-empty ; for
> example,
>
> #;> (html->sxml "")
> (*TOP* (foo (@ (bar ""
>
> although I'd also be satisfied with a return to the status quo ante, in
> which a null cdr signifies empty.
>
Given that I can see pros and cons to both approaches,
I'm inclined to leave as-is for now.
--
Alex
> Jim
>
> On Sep 8, 2013, at 7:30 AM, Alex Shinn wrote:
>
> On Thu, Sep 5, 2013 at 12:39 AM, Philip Kent wrote:
>
>> Hi Alex,
>>
>> Excellent! Thanks for looking into it and for the tip re custom parsers -
>> I was trying to understand that code!
>>
>
> It should work now, let me know if you have any problems.
>
> --
> Alex
>
> ___
> Chicken-users mailing list
> Chicken-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/chicken-users
>
>
>
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users