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

From: Kevin Brown <kevin@renderx.com>
Date: Wed Jun 15 2011 - 13:25:58 PDT

Thank you Ken and completely correct (although I did not say it in my
writing, this is what I was indicating).

Despite the title of this xep-support article, table column widths are
correct in XEP and not correct in FOP.

Kevin

-----Original Message-----
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of G. Ken Holman
Sent: Wednesday, June 15, 2011 1:16 PM
To: xep-support@renderx.com
Subject: [xep-support] Re: table column widths correct in FOP but not in XEP

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@CraneSoftwrights.com
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
!DSPAM:87,4df9130163733038115713!
_______________________________________________
(*) 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
_______________________________________________
(*) 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
Received on Wed Jun 15 13:26:09 2011

This archive was generated by hypermail 2.1.8 : Wed Jun 15 2011 - 13:26:10 PDT