Hacker News new | past | comments | ask | show | jobs | submit login

Only when specific uncommon headers are set. Under normal circumstances, if you feed them a malformed xhtml document, they will parse it.



Sending XML with the proper application/xml (or some other) media type is rather common.

Sending XHTML with the HTML media type doesn't count. In that case you're just sending malformed HTML which the browser doesn't recognise as XML at all.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: