[xep-support] Re: Tables with only <fo:table-header> are not rendered close to end of page

From: Kevin Brown <kevin_at_ADDRESS_REMOVED>
Date: Tue Sep 25 2018 - 17:10:33 PDT

If you create an XSL that creates empty <fo:table> or empty <fo:table-body>
or even going forward empty <fo:table-row> or empty <fo:table-cell>
elements, then you have created bad XSL.
Your XSL should be pre-checking for these conditions and operating on them.

RenderX tries it's best to "guess" at bogus content and attempt to
understand what you thought you meant by it.
It is not always correct as one person's desires are not the others.

Kevin Brown
RenderX

-----Original Message-----
From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of Hugo
Inacio
Sent: Tuesday, September 25, 2018 4:55 PM
To: RenderX Community Support List <xep-support@renderx.com>
Cc: Jim Fretwell <Jim.Fretwell@objective.com>
Subject: [xep-support] Re: Tables with only <fo:table-header> are not
rendered close to end of page

Thank you for your email. I've checked the spec, and yes, you are right in
saying that the table is not correct without a table-body element.
I would assume that XEP would treat all tables the same then, meaning none
of the tables should display as none of them are conformant?

I have also tested with the following ( valid FO according to spec):

<fo:table-body><fo:table-row><fo:table-cell><fo:block/></fo:table-cell></fo:
table-row></fo:table-body>

And still achieve the same unwanted result: Only the tables on the first
page appear, and the tables that are supposed to show up in the second page
do not show. I have added the file for reference.

Hugo

-----Original Message-----
From: Xep-support <xep-support-bounces@renderx.com> On Behalf Of G. Ken
Holman
Sent: Tuesday, 25 September 2018 4:38 AM
To: RenderX Community Support List <xep-support@renderx.com>;
xep-support@renderx.com
Cc: Jim Fretwell <Jim.Fretwell@objective.com>
Subject: [xep-support] Re: Tables with only <fo:table-header> are not
rendered close to end of page

A <table> without a <table-body> is an error, so the fact that anything is
or is not displayed is irrelevant ... you should be using valid XSL-FO.

Ref: https://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_table

>Contents:
>
>(<https://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_table-column>table-
>column*,<https://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_table-header
>>table-header?,<https://www.w3.org/TR/2006/REC-xsl11-20061205/#fo_table
>-footer>table-footer?,<https://www.w3.org/TR/2006/REC-xsl11-20061205/#f
>o_table-body>table-body+)

I hope this is helpful.

. . . . Ken

At 2018-09-24 01:57 +0000, Hugo Inacio wrote:
>For these three files (tables_with_body.fo,
>tables_with_empty_body_and_header.fo, tables_with_header_only.fo ),
>only the first one will show the second page. Meaning that tables that
>contain only header cells are ignored when being placed on the next
>page. Is this a render X issue?
>
>Hugo Inacio
>
>
>
>_______________________________________________
>(*) 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

--
Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/f/ |
Check our site for free XML, XSLT, XSL-FO and UBL developer resources |
Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |
_______________________________________________
(*) 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 Tue Sep 25 17:09:44 2018

This archive was generated by hypermail 2.1.8 : Tue Sep 25 2018 - 17:09:50 PDT