Docbook 样式表和表格,FOP 错误
自从使用 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" 时使用。;属性:'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" 功能。
I've never experienced this error since I use Docbook. I've looked it up and found out that this error was fixed earlier in the past (and also I gave a try to do the same steps as it was explained). Unfortunately, I haven't managed to fix it on my own yet.
Here is the error message that FOP gives:
WARNING: The following feature isn't implemented by Apache FOP, yet: table-layout="auto" (on fo:table) (See position 2:182518)
2011.10.19. 11:19:37 org.apache.fop.events.LoggingEventListener processEvent
SEVERE: Invalid property value encountered in column-width="proportional-column- width(1)": org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (See position 2:182598)
org.apache.fop.fo.expr.PropertyException:
file:/c:/fajlok/teszt/book.fo:2:182518: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width'
Basically it notifies me that in FOP hasn't been implemented the table-layout="auto" feature yet.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我无法确认当 fop1.extensions 设置为“1”时不会看到警告。
我的样式表包含
我仍然
使用 fop 版本 1:1.0.dfsg2-6 (debian sid)
I can't confirm that the warning isn't seen when fop1.extensions is set to "1".
My stylesheet contains
And still I get
I am using fop version 1:1.0.dfsg2-6 (debian sid)