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
http://www.ietf.org/internet-drafts/draft-baker-xhtml-media-reg-01.txt

>> >[...] 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.

Hu?

>> >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?

http://lists.w3.org/Archives/Public/www-html/2000Sep/0024.html

>> >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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:49 GMT