logoalt Hacker News

kllrnohj • yesterday at 9:38 PM • 2 replies • view on HN

> xhtml was just a bad idea creating tons of problems and solving none.

Well an XHTML parser (and serializer) is a lot simpler, which is a pretty meaningful problem to solve.

What problems does xhtml create?


Replies

bazoom42 • yesterday at 10:03 PM

> Well an XHTML parser (and serializer) is a lot simpler

Perhaps, but a combined html and xhtml parser is more complex than just a html parser. Since html already is entrenched, xhtml would be in addition to html, not instead of.

smallerize • yesterday at 9:40 PM

The main one is that even a slightly broken XHTML document will fail to render. HTML is much more forgiving.

➕ show 2 replies