[xep-support] Re: table column widths correct in FOP but not in XEP

Eric J. Schwarzenbach Eric.Schwarzenbach at wrycan.com
Wed Jun 15 13:26:55 PDT 2011


Thanks Ken, that answers it. It sounds like xep is doing the right thing 
and fo and ah are doing the wrong thing.

Cheers,

Eric

On 6/15/2011 4:15 PM, G. Ken Holman wrote:
> At 2011-06-15 16:08 -0400, Eric J. Schwarzenbach wrote:
>> I was part of that discussion on the DITA list, and I can confirm, 
>> that at least for the xml where I'm running into this, you are right, 
>> it is indeed the case that the fo table is being generated with 
>> width="100%" (and table-layout="fixed", FWIW). It seems to me that in 
>> this situation, the column-width and the table width in the fo are 
>> asking for contradictory things. It seems to me that xep is honoring 
>> the table width at the expense of the column width (treating it as 
>> proportional and not absolute inches as it indicates), whereas fop 
>> and antenna house both both honor the column-width at the expense of 
>> the table width.
>>
>> I really have no idea which, if either, is right. Can anyone tell if 
>> the FO spec indicates what should happen in this case? Or is it 
>> undefined?
>
> The XSL-FO 1.1 specification cites:
>
>   http://www.w3.org/TR/CSS2/tables.html#fixed-table-layout
>
> ... where it says:
>
>   "The width of the table is then the greater of the value of
>    the 'width' property for the table element and the sum of
>    the column widths (plus cell spacing or borders). If the
>    table is wider than the columns, the extra space should be
>    distributed over the columns."
>
> I've never had problems with XEP with table column widths.
>
> I hope this helps.
>
> . . . . . . . . . . . Ken
>
>
> -- 
> Contact us for world-wide XML consulting & instructor-led training
> Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
> G. Ken Holman                 mailto:gkholman at CraneSoftwrights.com
> Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
>
>
> 
>
>
> _______________________________________________
> (*) To unsubscribe, please visit 
> http://lists.renderx.com/mailman/options/xep-support
> (*) By using the Service, you expressly agree to these Terms of 
> Service http://w
> ww.renderx.com/terms-of-service.html
>

!DSPAM:87,4df9159b63731769850842!




More information about the Xep-support mailing list