docbook-apps

  • 1.  An informaltable that chokes FOP

    Posted 08-26-2008 18:16
      |   view attached
    The attached short article renders perfectly in XEP but breaks FOP. The
    source of the problem appears to be my customisation layer: with XSLT
    against just the XSL distribution, the formatters produce identical results.


    Or — is the problem with FOP's support for informaltable? If I change the
    informaltable element to a table element, both FOP and XEP again produce
    identical results against my customisation layer.

    I haven't so far attempted any customisation of tables. Is there something
    I've written in the customisation layer that affects the informaltable
    element? Or is this a bug I should report to the FOP project, and if so, in
    what terms?

    - FO for both formatters produced by xsltproc from docbook-xsl-ns-1.74.0
    - versions.xml validates against docbook-5.0/dtd/docbook.dtd
    - FOP reports: java.lang.IllegalStateException: Flow 'xsl-region-body'
    does not map to the region-body in page-master 'blank'. FOP presently does
    not support this.

    Stephen

    Attachment(s)

    xml
    versions.xml   4 KB 1 version


  • 2.  Re: [docbook-apps] An informaltable that chokes FOP

    Posted 08-26-2008 18:41
    
    
    did you remember to switch between extensions when changing between XEP and FOP?

    <!-- =================================================== -->
    <!-- activate XEP extensions -->
    <xsl:param name="xep.extensions" select ="1" />
    <!-- =================================================== -->
    <!-- activate FOP extensions -->
    <!-- <xsl:param name="fop.extensions" select ="1" /> -->
    <!-- =================================================== -->




    The attached short article renders perfectly in XEP but breaks FOP. The source of the problem appears to be my customisation layer: with XSLT against just the XSL distribution, the formatters produce identical results.

    Or - is the problem with FOP's support for informaltable? If I change the informaltable element to a table element, both FOP and XEP again produce identical results against my customisation layer.

    I haven't so far attempted any customisation of tables. Is there something I've written in the customisation layer that affects the informaltable element? Or is this a bug I should report to the FOP project, and if so, in what terms?
    • FO for both formatters produced by xsltproc from docbook-xsl-ns-1.74.0
    • versions.xml validates against docbook-5.0/dtd/docbook.dtd
    • FOP reports: java.lang.IllegalStateException: Flow 'xsl-region-body' does not map to the region-body in page-master 'blank'. FOP presently does not support this.
    Stephen

    Content-Type: text/xml; name=versions.xml
    X-Attachment-Id: f_fkctyx5r0
    Content-Disposition: attachment; filename=versions.xml

    Attachment converted: Server HD 5:versions.xml (TEXT/R*ch) (00924B4D)
    Content-Type: text/xml; name=docbook5-custom.xsl
    X-Attachment-Id: f_fkctz4c71
    Content-Disposition: attachment; filename=docbook5-custom.xsl
    Attachment converted: Server HD 5:docbook5-custom.xsl (TEXT/R*ch) (00924B4E)
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


    Ron Catterall, Phd, DSc       email: ron@catterall.net
    Prolongacion de Hidalgo 140http://catterall.net/
    San Felipe del Aguatel: +52 951 520 1821
    Oaxaca      68020Mexicofax: +1 530 348 8309