Thread: WebBook Format
View Single Post
Old 04-23-2018, 04:02 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,471
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
In HTML 5 the parsing algorithm is fully specified and robust against bad markup, i.e. all spec compliant parser produce the same output for the same bad markup. So it doesn't matter if there are small mistakes in the markup, since they result in the same DOM in all user agents.

This argument about strict syntax vs. robust parsing has been had endlessly through all the ages that computers have existed. In the web world, robust parsing has won, the EPUB standards committee just didn't get the memo.
The same parsing algorithm that has people concerned about it's ability to parse in linear time? The adoption agency algorithm is a horrible example of good intentions with it's nested loops that can go quadratic. Going by some of your posted code, you are aware of this issue.
DNSB is offline   Reply With Quote