W3C home > Mailing lists > Public > public-diselect-editors@w3.org > October to December 2005


From: Roland Merrick <roland_merrick@uk.ibm.com>
Date: Fri, 9 Dec 2005 15:45:00 +0000
To: Charles McCathieNevile <chaals@opera.com>, public-diselect-editors@w3.org
Cc: w3c-di-wg@w3.org
Message-ID: <OF8E579571.9A1F56BB-ON802570D2.00532C5B-802570D2.005683A5@uk.ibm.com>
Greetings Charles, thanks for your comments on the content selection last 
call [1]. As part of this your fourth point states: 

<snip>4. Section 9.12.2 describes the function of a test for resolution, 
but simply says that it is a decimal number. It should give units, which 
apparently (from the explanation in an example, explicitly marked 
informative) are intended to be dpi. .</snip> 

The DIWG assigned this comment the identifier McCathieNevile-4.

This mail documents DIWG's response to your comments.

DIWG Response
We have declined this comment  . . . 

Because of the general difficulty of returning multiple values from 
function and method invocation, DIWG has adopted a different approach in 
its XPath functions. The units in which a value is required is an input 
parameter. You can see this in the function protptype in section 9.12.1. 
The units parameter is a string in which the author must define the units 
in which the value is to be returned. In the example you cite, the author 
has supplied the value dpi which is one of the standard units recognised 
by CSS. We describe the use of these in section 9.15. It is a 
responsibility of the implementation of the function to verify that the 
units value is appropriate for the property being requested and to perform 
any conversion required. The value returned by the function is always the 
value of the property in the units specified in the call. 


Regards, Roland
Received on Friday, 9 December 2005 15:46:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:41:55 UTC