Docbook样式表和表格,FOP错误

时间:2011-10-19 09:37:21

标签: apache apache-fop docbook

我使用Docbook后从未遇到此错误。我查了一下,发现这个错误在过去早些时候已经修复过了(我也试着按照解释的那样做同样的步骤)。不幸的是,我还没有设法自己修复它。

以下是FOP提供的错误消息:

  

警告:Apache FOP尚未实现以下功能:table-layout =“auto”(在fo:table上)(参见位置2:182518)
  2011.10.19。 11:19:37 org.apache.fop.events.LoggingEventListener processEvent   严重:在column-width =“proportional-column-width(1)”中遇到无效的属性值:org.apache.fop.fo.expr.PropertyException:
   file:/ c:/fajlok/teszt/book.fo:2:182518:proportional-column-width()函数只能在fo:table具有table-layout =“fixed”时使用。 property:'column-width'(见位置2:182598)
  org.apache.fop.fo.expr.PropertyException:
   file:/ c:/fajlok/teszt/book.fo:2:182518:proportional-column-width()函数只能在fo:table具有table-layout =“fixed”时使用。属性: '列宽度'

基本上它告诉我在FOP中还没有实现table-layout =“auto”功能。

1 个答案:

答案 0 :(得分:1)

当fop1.extensions设置为“1”时,我无法确认没有看到警告。

我的样式表包含

<xsl:param name="fop1.extensions" select="1"/>

我仍然得到

The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 1362:428)

我正在使用fop版本1:1.0.dfsg2-6(debian sid)