W3C home > Mailing lists > Public > www-html@w3.org > May 2011

Re: Compatibility: Referencing Style Elements when serving as XML

From: Luis Marsano <luis.marsano@gmail.com>
Date: Sat, 7 May 2011 20:55:18 -0400
Message-ID: <BANLkTi==H4qReZNYKywiCZ4Uu82i6sKeiw@mail.gmail.com>
To: www-html@w3.org
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 GMT

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