Re: Additional comment (glazman-1) on AssocSS

On Mon, 29 Mar 2010 17:18:49 +0300, Grosso, Paul <pgrosso@ptc.com> wrote:

> I just noticed that we recevied another comment on the AssocSS
> draft at
> http://lists.w3.org/Archives/Public/www-xml-stylesheet-comments/2010Mar/
> 0000
>
> Daniel Glazman says:
>
> <quote>
> I think section 4 [1], in the definition of the 'media' attribute,
> should probably specify that if the 'media' pseudo-attribute is absent
> then the stylesheet applies to "all" media [2].
>
> [1]
> http://www.w3.org/XML/2010/03/xml-stylesheet/#the-xml-stylesheet-process
> ing-instruction
> [2] http://www.w3.org/TR/CSS2/media.html#media-types
> </quote>
>
> What we currently say about the media attribute is:
>
> <quote>
> Gives the media for which the referenced style sheet applies.
> If specified, documents must set the value to a string that
> matches the media_query_list production of the Media Queries
> specification. [MQ]
> </quote>
>
> We also say:
>
> <quote>
> The details of how conforming xml-stylesheet processors
> exploit the information contained in xml-stylesheet
> processing instructions are out of scope for this document,
> as they may reasonably vary from processor to processor.
> </quote>
>
> First, I'd suggest that we should change "xml-stylesheet
> processors" in the above (which is the Note we added to
> section 2 to respond to issue holman) to "application".
> The xml-ss processor does not exploit the information
> in the PI at all; it passes it on to the application
> which decides what to do with it.
>
> Then, I'd respond to Daniel by saying that it is out of
> scope of this spec to say how an application interprets
> the information that the xml-stylesheet processor passes
> to it.  In fact, despite what CSS says about media types,
> it may not be the case for all applications that they will
> treat a PI with a missing media attribute as applicable
> to them.  (In particular, Arbortext ignores a PI with no
> media attribute.)
>
> Comments?

I agree with your suggestions.

-- 
Simon Pieters
Opera Software

Received on Monday, 29 March 2010 14:29:42 UTC