Hacker News new | ask | show | jobs
by bazoom42 45 days ago
> A HTML parser can become a XML parser by disabling a bunch of special-features

Even if this was true it would still increase complexity to have two parsing modes compared to just a html parser.

1 comments

The idea would be to eventually deprecate "legacy" html, of course.

Whether that kind of backwards-incompatible breakage would ever become acceptable is a completely different story. But we ditched Flash, ActiveX, Silverlight, and Java applets, so who knows what could have been!

Who would want to use a browser which couldn’t render html? Even if a better format arrived, there are millions of already existing html pages which people would want to be able to read.