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

* 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 UTC