Andreas L Delmelle wrote:

On Aug 23, 2006, at 02:10, [EMAIL PROTECTED] wrote:


<snip/>

No tests broke, but I'm not sure how to test whether this change had any unintended side-effects...

Well I'm not sure if its one of your recent changes thats to blame, but I've just noticed that simple tables (test file attached) appear to be issuing a SEVERE message to the log, i.e.

24-Aug-2006 14:04:41 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context

I traced the call back to LengthBase.getBaseLength to Table.bind()

The table still gets generated but the message makes you think it failed.

Chris
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
	<fo:layout-master-set>
		<fo:simple-page-master master-name="a4" page-width="210mm" height="297mm" margin="5mm">
			<fo:region-body/>
		</fo:simple-page-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="a4">
		<fo:flow flow-name="xsl-region-body">
			<fo:block>
				<fo:table table-layout="fixed" width="100%" border-collapse="separate">
					<fo:table-column column-width="1cm"/>
					<fo:table-column column-width="12cm"/>
					<fo:table-column column-width="1cm"/>
					<fo:table-body font-size="10pt" font-family="sans-serif">
						<fo:table-row line-height="12pt">
							<fo:table-cell>
								<fo:block text-align="end">A)
                     </fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="start">What is FOP?
								</fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="end">1
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row line-height="12pt">
							<fo:table-cell>
								<fo:block text-align="end">B)
                     </fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="start">Downloading FOP
								</fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="end">2
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
						<fo:table-row line-height="12pt">
							<fo:table-cell>
								<fo:block text-align="end">C)
                     </fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="start">Running FOP
								</fo:block>
							</fo:table-cell>
							<fo:table-cell>
								<fo:block text-align="end">3
								</fo:block>
							</fo:table-cell>
						</fo:table-row>
					</fo:table-body>
				</fo:table>
			</fo:block>
		</fo:flow>
	</fo:page-sequence>
</fo:root>

Reply via email to