W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2001

Re: text/html for xml extensions of XHTML

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 2 May 2001 21:40:24 -0700 (Pacific Daylight Time)
To: Aaron Swartz <aswartz@swartzfam.com>
cc: Robert Miner <RobertM@dessci.com>, <hammond@csc.albany.edu>, <mozilla-mathml@mozilla.org>, <www-talk@w3.org>
Message-ID: <Pine.WNT.4.31.0105022133270.1004-100000@HIXIE.netscape.com>
On Wed, 2 May 2001, Aaron Swartz wrote:
>>>
>>> I have an HTML document that is well-formed XML. I want it to be read by my
>>> grandma who runs Netscape 3.0. I must send it as text/html so that she can
>>> read it with Netscape's HTML parser. Netscape 7.0, which understands XML
>>> just fine, realizes that my document is XML and thus parses it with its XML
>>> parser. Everybody wins. Where is the issue, Ian?
>>
>> In the case you describe, you would not be able to tell the difference
>> between Netscape 7.0 handling the document as text/html, and Netscape 7.0
>> handling the document as text/xml.
>
> Then I think that Netscape 7.0 is broken, since it should throw an error if
> my page is not well-formed XML.

You *specifically* said that the document in question was well-formed:

>>> I have an HTML document that is well-formed XML.

Is this hypothetical document well-formed, or not?


>> So clearly that is not the case you care about.
>
> Actually it is. Others care about MathML, which I will also defend.
> Assuming that I included MathML in this HTML document, would you have
> a problem with the above scenario?

Yes; in my opinion there is very little point in sending MathML to
Netscape 3.0. If you want to support older UAs, then use <sup>, <sub> and
tables for the equations. Otherwise you will have dataloss -- your grandma
won't be able to tell what you equations are doing.

-- 
Ian Hickson                                            )\     _. - ._.)   fL
Invited Expert, CSS Working Group                     /. `- '  (  `--'
The views expressed in this message are strictly      `- , ) -  > ) \
personal and not those of Netscape or Mozilla. ________ (.' \) (.' -' ______
Received on Thursday, 3 May 2001 00:38:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT