Hi,

disagree. parsing html is very problematic, while xhtml is xml, i really
think that an xhtml->html transition would be bad. what would be the
valid content-type? text/xhtml? you are right about we should fix that

For XHTML "application/xhtml+xml" is the correct media/content/MIME
type, however microsofts internet explorer does not display files
served as this and instead prompts the user to download the file.

What is being served now is NOT XHTML, just try serving the same files
with the correct type and they will literally render differently.

There are a several options regarding this:

1. Use HTML4 and keep the text/html media type which would be correct.
You can still make HTML that parses easily as XML by being careful
e.g. using <img src="blah" /> and <br/> are still valid in HTML - just
not required. Taking all this into account what issues would this
cause?

2. Serve XHTML as application/xhtml+xml to non-ie browsers and
fall-back to text/html for ie with server-side logic.

3. Continue pretending that valid XHTML can be served with a text/html
media type.


_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to