W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > March 2010

Additional comment (glazman-1) on AssocSS

From: Grosso, Paul <pgrosso@ptc.com>
Date: Mon, 29 Mar 2010 10:18:49 -0400
Message-ID: <CF83BAA719FD2C439D25CBB1C9D1D30212CF8CD7@HQ-MAIL4.ptcnet.ptc.com>
To: "XML CORE" <public-xml-core-wg@w3.org>
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?

paul
Received on Monday, 29 March 2010 14:19:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:41 UTC