FOP error:
Posted: Wed Dec 17, 2014 12:12 pm
A colleague has installed XML Author 16.1, build 2014112517. She then copied our PDF plugin into the plugins folder and successfully ran the OT Integrator. When she then tried to run our PDF transformation on a DITA map, she got the following error:
[fop] 19434 INFO [ main ] org.apache.fop.apps.FOUserAgent - Rendered page #1.
[fop] 19457 WARN [ main ] org.apache.fop.apps.FOUserAgent - The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1:-1)
[fop] 19460 ERROR [ main ] org.apache.fop.apps.FOUserAgent - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException: file:/C:/Users/jessica/AppData/Local/Temp/OxygenXMLTemp/https___sharepoint.entersect.co.za_InfoDev_DITA/temp/pdf/topic.fo:1 proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (See position 1:-1)
[fop] org.apache.fop.fo.expr.PropertyException: file:/C:/Users/jessica/AppData/Local/Temp/OxygenXMLTemp/https___sharepoint.entersect.co.za_InfoDev_DITA/temp/pdf/topic.fo:1 proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width'
[fop] at org.apache.fop.fo.expr.ProportionalColumnWidthFunction.eval(ProportionalColumnWidthFunction.java:61)
I suspect that this may have something to do with the following override to static-content.xsl:
However, this causes no problem on my installation of Oxygen XML Author 16.0, build 2014070913.
Could there be a different version of FOP installed on our two computers?
Regards
Rodrik
[fop] 19434 INFO [ main ] org.apache.fop.apps.FOUserAgent - Rendered page #1.
[fop] 19457 WARN [ main ] org.apache.fop.apps.FOUserAgent - The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1:-1)
[fop] 19460 ERROR [ main ] org.apache.fop.apps.FOUserAgent - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException: file:/C:/Users/jessica/AppData/Local/Temp/OxygenXMLTemp/https___sharepoint.entersect.co.za_InfoDev_DITA/temp/pdf/topic.fo:1 proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (See position 1:-1)
[fop] org.apache.fop.fo.expr.PropertyException: file:/C:/Users/jessica/AppData/Local/Temp/OxygenXMLTemp/https___sharepoint.entersect.co.za_InfoDev_DITA/temp/pdf/topic.fo:1 proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width'
[fop] at org.apache.fop.fo.expr.ProportionalColumnWidthFunction.eval(ProportionalColumnWidthFunction.java:61)
I suspect that this may have something to do with the following override to static-content.xsl:
Code: Select all
<xsl:template name="insertBodyOddFooter">
<fo:static-content flow-name="odd-body-footer">
<fo:block xsl:use-attribute-sets="__body__odd__footer">
<fo:table border-collapse="collapse" width="100%">
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-column column-width="0.5in"/>
<fo:table-column column-width="5.7in"/>
<fo:table-column column-width="0.3in"/>
<fo:table-column column-width="proportional-column-width(1)"/>
<fo:table-body>
<fo:table-row height="0.3in">
...
Could there be a different version of FOP installed on our two computers?
Regards
Rodrik