Re: Compatibility: Referencing Style Elements when serving as XML

I'm not sure I follow. You're saying an XML processor only supports
xml-stylesheet declarations linking to correctly MIME typed content,
which a CSS fragment embedded in an XML MIME type document is not?

On Wed, May 4, 2011 at 2:35 PM, Ian Hickson <ian@hixie.ch> wrote:
> For CSS, it isn't supported because XML files have a non-CSS MIME type so
> the processor never gets as far as looking for an ID. This is primarily
> designed for XSLT, as I understand it.
>
> --
> Ian Hickson               U+1047E                )\._.,--....,'``.    fL
> http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
> Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

On rereading my last message, I think I should clarify.
The XHTML 1.0 specification guidelines say DO include an XML
processing instruction (xml-stylesheet declaration; XML convention).
The XHTML Media Types group note says DO NOT (HTML user agents render
something undesired; XHTML compliance requires style and link element
processing anyway).
The guidelines are inconsistent. People may not know what to do or
incorrectly conclude the wrong guidelines are correct. This was my
point.

Received on Sunday, 8 May 2011 00:55:45 UTC