|
From: | Jim Ursetto |
Subject: | Re: [Chicken-users] html->sxml (html-parser egg) does not decode entities in html attributes, ideas why? |
Date: | Fri, 22 Nov 2013 20:19:56 -0600 |
Alex, Looks like there's a regression of sorts in html-parser 0.5.1. 0.5.0 #;> (html->sxml "<foo bar></foo>") (*TOP* (foo (@ (bar)))) 0.5.1 #;> (html->sxml "<foo bar></foo>") Error: (cadr) bad argument type: () 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 "<foo bar></foo>") (*TOP* (foo (@ (bar "")))) although I'd also be satisfied with a return to the status quo ante, in which a null cdr signifies empty. Jim On Sep 8, 2013, at 7:30 AM, Alex Shinn <address@hidden> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |