Hacker News new | ask | show | jobs
by callahad 3899 days ago
> "Are there any problems with serving pages as application/xhtml+xml?"

That was more relevant when XHTML was still vying to be the future of markup on the web. The issue was that the XHTML content type mandated a strict XML parser that hard failed if your markup wasn't well-formed, whereas HTML is more lenient. With XHTML, it was easy for a single stray closing tag to kill your entire site. This was an especially common concern if you allowed markup in, say, comments.

1 comments

> That was more relevant when XHTML was still vying to be the future of markup on the web.

Unfortunately many interviewers still ask these types of questions even if it's no longer relevant.