Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unfortunately XHTML5 doesn't exist and if you try to force the issue, you have to re-declare all of the non-numeric HTML entities in your own DTD (I abandoned the idea here). I'd love to use XHTML, its just not viable anymore.

As for generating all HTML, that's simply not possible given the current state (of open-source at least) WYSIWYG HTML editors.





> Unfortunately XHTML5 doesn't exist

This is a mirage, apparently: https://html.spec.whatwg.org/multipage/xhtml.html


That's not HTML5 as far as I can tell. If you want both HTML5 and XML validation, you have to write your own DTD.

I stopped using entities once we had UTF-8. I suppose there’s a case for the occasional < > but beyond that, I have no problem typing “‘—’” or üçě when I need to.

I wish HTML 6 will actually be XHTML 6.



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

Search: