Re: HTML Parser
On Wednesday, August 8, 2012 7:59:14 AM UTC-7, Jeremy Wall wrote:
That said I'm hoping Nigel will finish the exp/html package soon so I
can stop fixing bugs and maintaining h5 and use his instead. I'm not
sure how close to completion the standard package is. Maybe nigel can
chime on the thread and let us know.
Nigel and I have been working on getting the exp/html package to pass the parser test suite. There are only five failing tests left, so it probably won't be long till it passes. I'm not sure how much more work it will take after passing the tests before the package is taken out of exp, but it is quite usable right now—just no guarantee of API stability.
$ grep -r '^FAIL' testlogs
testlogs/tests_innerHTML_1.dat.log:FAIL "<textarea><option>"
testlogs/tests_innerHTML_1.dat.log:FAIL "</html><!--abc-->"
testlogs/webkit01.dat.log:FAIL "<ul><li><div id='foo'/>A</li><li>B<div>C</div></li></ul>"
testlogs/webkit02.dat.log:FAIL "<html><body><img src=\"\" border=\"0\" alt=\"><div>A</div></body></html>"
testlogs/webkit02.dat.log:FAIL "<isindex action=\"x\">"