← Prev in month ← Prev in thread

Table to pdf - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException

From
Lars Vogel <>
Date
2011-10-08T21:54:57+00:00
ID
Thread
Table to pdf - Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException
Hello,

If I add a table to my docbook document and convert it to pdf I receive several of the following error messages:

[fop] SCHWERWIEGEND: Invalid property value encountered in column-width="proportional-column-width(1)": org.apache.fop.fo.expr.PropertyException: file:/C:/Users/D034797/workspace/vogella/de.vogella.docbook.first/output/temp/article2.fo:4:408: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width' (Siehe Position 4:453)

Googling for this error lead to http://lists.oasis-open.org/archives/docbook-apps/201008/msg00143.html. According to this discussion the 1.76.1 XSL  stylesheets should not have this error anymore if I understand it correctly.

The table looks like the following:

<table frame='all'>

	<title>Sample Table</title>

	<tgroup cols='2' align='left' colsep='1' rowsep='1'>

		<colspec colname='c1' />

		<colspec colname='c2' />

		<thead>

			<row>

				<entry>a4</entry>

				<entry>a5</entry>

			</row>

		</thead>

		<tfoot>

			<row>

				<entry>f4</entry>

				<entry>f5</entry>

			</row>

		</tfoot>

		<tbody>

			<row>

				<entry>b1</entry>

				<entry>b2</entry>

			</row>

			<row>

				<entry>d1</entry>

				<entry>d5</entry>

			</row>

		</tbody>

	</tgroup>

</table>

Is this a different error in the stylesheets or am I'm making something wrong? 

Best regards, Lars
-- 
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials

http://www.twitter.com/vogella - Lars on Twitter
← Prev in month ← Prev in thread