[racket] lex-error report while reading HTML using module XML

From: Haiwei Zhou (highfly22 at gmail.com)
Date: Wed Dec 12 23:42:48 EST 2012

Hi,

In HTML the <img> tag has no end tag. This causes trouble while using
string->xexpr. It is reported that tag img is not closed.

I found in the XML writer there is a parameter named empty-tag-shorthand to
control the HTML generation behavior. So I added a quick hack into XML
reader to tolerate those empty-tags.

Should I commit my patch back to collection?

Regards,
Haiwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121213/3fe7ec0c/attachment.html>

Posted on the users mailing list.