Forum OpenACS Development: Re: OpenACS Roadmap 5.3

Collapse
4: Re: OpenACS Roadmap 5.3 (response to 1)
Posted by Daniël Mantione on
Perhaps I'm going to be flamed for this, but XHTML currently causes more problems than it solves.

Why?
- You must serve your xhtml as text/html instead of application/xml+xhtml to support Internet Explorer and possibly other browsers. Serving it as text/html means it should be parsed/is supposed to be parseable with an SGML parser. Xhtml stuff like <p /> is invalid SGML.
- Internet Explorer and possibly other browsers don't recognize the DTD and switch into quirks mode instead of standard compliant mode. You will have much more trouble to make your site anybrowser compatible because of this.