Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2533

PDF generation never stops when you have a missing defined region name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1, 2.0
    • Fix Version/s: None
    • Component/s: fo/page
    • Labels:
      None

      Description

      If you try to publish to PDF this XSL-FO file:

      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <fo:layout-master-set>
            <fo:simple-page-master master-name="page-initiale" page-width="21cm" page-height="29.7cm">
               <fo:region-body margin="3cm" region-name="body"/>
               <fo:region-after extent="2cm" region-name="first-page-footer"/>
            </fo:simple-page-master>
            <fo:simple-page-master master-name="pages-standard">
               <fo:region-body margin-top="3cm"/>
            </fo:simple-page-master>
         </fo:layout-master-set>
         <fo:page-sequence master-reference="page-initiale">
            <fo:flow flow-name="xsl-region-body">
               <fo:block></fo:block>
            </fo:flow>
         </fo:page-sequence>
         <fo:page-sequence master-reference="pages-standard">
            
            <fo:flow flow-name="xsl-region-body">
               <fo:block page-break-after="always"/>
            </fo:flow>
         </fo:page-sequence>
      </fo:root>

      the generation keeps creating a very large PDF and eventually throws an out of memory.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                radu_coravu Radu Coravu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3h
                  3h
                  Remaining:
                  Remaining Estimate - 3h
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified