McCathieNevile-4

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. 


[1] 
http://lists.w3.org/Archives/Public/public-diselect-editors/2005AprJun/0010.html

Regards, Roland

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