3 ms·
Most markup languages (indeed most languages) don't have error discovery and recovery built in and specified. HTML5 does, and most of the spec (and probably th
by masklinn 16y ago
Most markup languages (indeed most languages) don't have error discovery and recovery built in and specified.
HTML5 does, and most of the spec (and probably the parser) is about dealing with error cases.
Plus it's not like XML parsers are small. And HTML parsing is far more complex an affair (due to not just blowing up on error)