Justin Lieb wrote:
Gus Richter wrote: > <snip>
>
So there we have it. Ian and I are in agreement. XHTML served as
text/html is perfectly acceptable, but is _not_ for the
_not-so-conscientious_ and they should stick with HTML or serve up
their documents as application/xhtml+xml, which forces them to be
conscientious, but lose out with legacy browsers.
So, are you for or against using XHTML? Please point to the location
in that article where Ian says serving XHTML as text/html is perfectly
acceptable. I gathered that he is quite against it!
I regret that I have not been able to be clearer. Allow me to expand.
You have read Ian's document and have quoted it, but have not understood
it. He is against XHTML because he does not trust authors to be
consciencious in their work. So he advises against serving XHTML up as
text/html because there is no assurance that such authors will produce a
proper document by not validating their document and not properly
applying Appendix C. In fact, he provides scenarios where such authors
are likely to produce improper documents. He advises to either serve the
document up as application/xhtml+xml whereby they will be forced to
create a proper document or to forget about XHTML and stick with HTML.
Since support by IE for application/xhtml+xml is non-existant, he is in
favor of HTML. In his document, he says that if you are a conscientious
author, then his document can be disregarded (since you will assuredly
create a proper XHTML document served up as text/html).
I agree with him that desiring support for legacy browsers, which
includes all IE products, discounts XHTML served up as
application/xhtml+xml at this time. Where he and I part ways is that he
does not trust authors to be trustworthily conscientious in the creation
of XHTML documents and I on the other hand discount this notion and
treat authors alike with the understanding that their XHTML documents
account for all issues raised in Appendix C (and in Ian's document).
What he forgets is that such an untrustworthy type of author will also
likely fail to create a proper document with HTML by not validating
their document, so his solution to assuring a proper document creation
is really no perfect solution.
Ian does not say that serving XHTML up as text/html is illegal, which it
is not. What he does say is exactly what the title of the document says:
"Sending XHTML as text/html Considered Harmful"
<http://www.hixie.ch/advocacy/xhtml>
His opinion as to why text/html should not be used - why he believes
that its use is harmful/unacceptable. On the other hand, he also says
[search for "(yes" in the document] that if the reader of this document
is a conscientious author, then the document does not apply to the
reader. Ergo, for such an author, text/html is *not* harmful, therefore
is perfectly acceptable, as it is legal. In fact, Appendix C.11 suggests
that an XHTML document may be served as text/html.
What he does go on about are reasons (which I have tried to capsulate)
as to why he believes one should not do so. I believe that I am a
conscientious author, as all authors *should* be, and as such, following
his advice, his document does not apply to me, nor *should* it to all
other authors (although the pitfall scenareos and specific problems
outlined are well received and appreciated).
I hope that I have been able to make my position clearer. In a nutshell,
I am *for* XHTML 1.0 served up as text/html at this time (for documents
not using XML tools), only due to lack of support for
application/xhtml+xml by IE. Ian is as well, as I read it, except for
non-conscientious authors for which type he advises HTML. Ian wants to
save the web from faulty new XHTML documents. I believe that his
solution, if followed, will only shift the problem and create faulty new
HTML documents instead.
I repeat as in my previous posting, I am no authority. I long to learn,
to be corrected if I am wrong, or affirmed in my understanding. I
therefore am surprised that I have not been corrected within the last 18
hours since my last posting, so I shall be responding to it with changes.
--
Gus