Formatting issue while Migrating XEP to FOP

Help
2014-08-12
2014-08-12
  • Rushabh Ajmera

    Rushabh Ajmera - 2014-08-12

    Hi ,

    I am migrating from RenderX XEP4.3 to Apache FOP1.0. using saxon-6.5.3 . I am generating PDF reports from input having xml+xsl. It creates XSL-FO document first. It is working fine while Excecuting with XEP ,but it fails while using FOP .

    During the transformation it throws an error like "The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (See position -1:-1)".
    this .FO file is generating truncated .

    I have attched FO file here .

    If you can see at the end of file it is truncated . and gives the error mentioned above ..

    If anyone needs to have a look at xml and xsl then let me know.

    Please help me out . i need some suggestions or the directino to fix this issue.

    Thanks

     
    Last edit: Rushabh Ajmera 2014-08-12
    • Michael Kay

      Michael Kay - 2014-08-12

      Sorry, but this is nothing to do with Saxon, and as we aren't experts in XSL-FO, we can't help you. The error message comes from the XSL-FO processor, not from Saxon. Your stylesheet is generating XSL-FO documents that one FO processor accepts and another rejects; you'll have to look at the FO processors for your answer.

      Michael Kay
      Saxonica
      mike@saxonica.com
      +44 (0) 118 946 5893

      On 12 Aug 2014, at 13:42, Rushabh Ajmera rushabhk7@users.sf.net wrote:

      Hi ,

      I am migrating from RenderX XEP4.3 to Apache FOP1.0. using saxon-6.5.3 . I am generating PDF reports from input having xml+xsl. It creates XSL-FO document first. It is working fine while Excecuting with XEP ,but it fails while using FOP .

      During the transformation it throws an error like "The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table. (See position -1:-1)".
      this .FO file is generating truncated .

      <fo:table-row>
      <fo:table-cell>
      <fo:block number-columns-spanned="2">
      <fo:block>
      <fo:table table-layout="fixed" inline-progression-dimension="100%" table-omit-header-at-break="false" table-omit-footer-at-break="false">
      <fo:table-column column-number="1" column-width=" proportional-column-width(21) "/>
      <fo:table-column column-number="2" column-width=" proportional-column-width(79) "/>
      <fo:table-body start-indent="0in" end-indent="0in">
      <fo:table-row>
      <fo:table-cell>
      <fo:block padding-top="35px">
      <fo:block start-indent="20px">
      <fo:table table-layout="fixed" inline-progression-dimension="100%" table-omit-header-at-break="false" table-omit-footer-at-break="false">
      <fo:table-column column-number="1" column-width=" proportional-column-width(7) "/>
      <fo:table-column column-number="2" column-width=" proportional-column-width(93) "/>
      <fo:table-body start-indent="0in" end-indent="0in">

                                      <fo:table-row>
      
                                          <fo:table-cell>
                                              <fo:block>
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-weight="bold" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol1_RFF">
                                                  <fo:inline>R</fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>                                            
                                          <fo:table-cell>
                                              <fo:block>
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol1Details_RFF">
                                                  <fo:inline> = Counter Reset </fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>
      
                                      </fo:table-row>
      
                                      <fo:table-row>
                                          <fo:table-cell>
                                              <fo:block padding-top="15px">
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-weight="bold" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol2_RFF">
                                                  <fo:inline>P</fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>                                                    
                                          <fo:table-cell>
                                              <fo:block padding-top="15px">
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol2Details_RFF">
                                                  <fo:inline>= Program</fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>
                                      </fo:table-row>
      
                                      <fo:table-row>
                                          <fo:table-cell>
                                              <fo:block padding-top="15px">
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-weight="bold" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol3_RFF">
                                                  <fo:inline>I</fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>                                            
                                          <fo:table-cell>
                                              <fo:block padding-top="15px">
                                              <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-size="small" report:componentId="TimelineReportSection_rs.TimelineGraphLegendSymbol3Details_RFF">
                                                  <fo:inline>= Interrogate</fo:inline>
                                              </fo:block>
                                              </fo:block>
                                          </fo:table-cell>
                                      </fo:table-row>
                                  </fo:table-body>
                              </fo:table>
                          </fo:block>
                          </fo:block>
                      </fo:table-cell>
                      <fo:table-cell>
                          <fo:block text-align="left" padding-left="-13px">
                          <fo:block xmlns:report="http://www.ABC.com/prm/Report" report:componentId="TimelineReportSection_rs.TimelineGraph_ROC">
                              <fo:external-graphic src="url(file:/C:/Users/ra821814/AppData/Local/Temp/report53/graph8447262942320791901.png)"/>
                          </fo:block>
                          </fo:block>
                      </fo:table-cell>
                  </fo:table-row>
              </fo:table-body>
          </fo:table>
      </fo:block>
      </fo:block>
      

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

      <fo:table-row>
      <fo:table-cell>
      <fo:block padding-top="2px">
      <fo:block xmlns:report="http://www.ABC.com/prm/Report" font-weight="bold" font-size="small" start-indent="20px" report:componentId="atrialburdentrendsreportsection_rs.AtrialArrhythmiaGraphLabel_RFF">
      <fo:inline>AT/AF Burden</fo:inline>
      </fo:block>
      </fo:block>
      </fo:table-cell>
      <fo:table-cell>
      <fo:block text-align="left">
      <fo:block xmlns:report="http://www.ABC.com/prm/Report" report:componentId="atrialburdentrendsreportsection_rs.AtrialArrhythmiaGraph_ROC">
      <fo:external-graphic src="url(file:/C:/Users/ra821814/AppData/Local/Temp/report53/graph4761321516522630393.png)"/>
      </fo:block>
      </fo:block>
      </fo:table-cell>
      </fo:table-row>

      <fo:table-row>
      <fo:table-cell>
      <fo:block padding-top="10px">
      <fo:block xmlns:report="http://www.ABC.com/prm/

      Formatting issue while Migrating XEP to FOP

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/saxon/discussion/94027/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks