W3C home > Mailing lists > Public > www-html@w3.org > September 2001

Re: Associating style sheets with XHTML documents via processing instruction?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 10 Sep 2001 01:01:14 +0200
To: "Christian Wolfgang Hujer" <Christian.Hujer@itcqis.com>
Cc: "Sean B. Palmer" <sean@mysterylights.com>, <www-html@w3.org>
Message-ID: <iesnptsups976cqpan67v3dk42nhh81rb1@4ax.com>
* Christian Wolfgang Hujer wrote:
>> >c) being sent as text/xhtml
>> This isn't a valid case, there is no such MIME type, behaivour thus
>> undefined.
>Officially, text/xhtml may not already exist, but
>1. It already is used by some applications
>2. Opera knows text/xhtml
>3. "5.1 Internet Media Type
>As of the publication of this recommendation, the general
>recommended MIME labeling for XML-based applications
>has yet to be resolved." from XHTML1.0 Recommendation

You should take a look at 

The 'application/xhtml+xml' Media Type

>> >[...] being loaded locally [...]
>> This is all implementation depending and can't be standardized.
>Because it is an issue regarding how XHTML is being processed by XHTML user
>agents, it can be standardized.

That's not a valid reason.

>And using MIME for XML is not already solved.


>> >3. It is legal to send xhtml as text/html to an XHTML user agent.
>> Yes, but the HTML WG created some contradiction in terms here, since
>> text/html must not be treated as XHTML and therefore neither the XHTML
>> 1.0 recommendation nor any other XHTML rules apply.
>Where can I find that information?


>> >What if it only contains <?xml-stylesheet?> processing
>> instructions, but no
>> ><link rel="stylesheet"/> elements?
>> Section 4.2 of HTML4 applies, the user agent must not render this SGML
>> processing instruction. Nothing else is defined.
>You do not write wether this is about MIME text/xml or text/html.

This is implied by quotation logic, text/html of course.
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Sunday, 9 September 2001 19:02:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:58 UTC