W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 2001

Compound datatypes: <length-range>

From: Peter B. West <pbwest@powerup.com.au>
Date: Fri, 28 Sep 2001 11:21:34 -0400 (EDT)
Message-ID: <3BB49571.4070600@powerup.com.au>
To: xsl-editors <xsl-editors@w3.org>
CC: fop-dev <fop-dev@xml.apache.org>
The editors,

In 5.11 Property Datatypes, <length> and <percentage> are defined 
separately, and <length-range> is specified as:
'A compound datatype, with components: minimum, optimum, maximum. Each 
component is a <length>.'

7.21.4 "leader-length" has:

'Value: <length-range> | <percentage> | inherit
Initial: leader-length.minimum=0pt, .optimum=12.0pt, .maximum=100%
Applies to: fo:leader
Inherited: yes
Percentages: refer to width of content-rectangle of parent area
Media: visual

Values have the following meanings:

<length-range>
...'

There is no discussion of the meaning of <percentage> corresponding to 
the discussion of the meaning of <length-range>.

Further on, the following example is given:

leader-length.minimum="0pt"
leader-length.optimum="12pt"
leader-length.maximum="100%"

In other words, the value of the leader-length property is not a 
<length-range> or a <percentage>, it is a <length-range> whose 
components are not simply <length>s, but <length>|<percentage>. 
'inherit' is presumably excluded by the constraint that compound 
datatypes may only be inherited as a compound.  If my understanding is 
correct, the actual specification of the allowable value of 
leader-length is <length-percentage-range>|inherit, where each component 
of <length-percentage-range> is <length>|<percentage>.

I assume from 7.21.4 that it is not intended to allow entries like
leader-length="20%".

This definitional uncertainty is similar to that encountered in relation 
to <space>.

Yours faithfully,
Peter West
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"
Received on Friday, 28 September 2001 13:22:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT