Fop-HEAD worked on Friday, but when I refreshed this morning it would no longer render my nested table. I isolated the issue and created a fotree/testcase for it. [junit] org.apache.fop.apps.FOPException: file:///usr/src/cvs/apache/fop/test/fotree/testcases/column-number_nested.fo:29:38: cell overlaps in column 2 [junit] javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: file:///usr/src/cvs/apache/fop/test/fotree/testcases/column-number_nested.fo:29:38: cell overlaps in column 2 [junit] at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501) [junit] at org.apache.fop.fotreetest.FOTreeTester.runTest(FOTreeTester.java:65) [junit] at org.apache.fop.fotreetest.FOTreeTestSuite$FOTreeTestCase.testMain(FOTreeTestSuite.java:121) [junit] at org.apache.fop.fotreetest.FOTreeTestSuite$1.runTest(FOTreeTestSuite.java:100) [junit] Caused by: org.apache.fop.apps.FOPException: file:///usr/src/cvs/apache/fop/test/fotree/testcases/column-number_nested.fo:29:38: cell overlaps in column 2 [junit] at org.apache.fop.fo.flow.TableCell.bind(TableCell.java:139) [junit] at org.apache.fop.fo.FObj.processNode(FObj.java:121) [junit] at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:271)
Created attachment 16452 [details] Testcase showing my error
Sorry, I'll have a look ASAP. Is caused by my implementation for default column-numbers. Such a simple example, and yet...? Will get back on this tomorrow.
Solved it, but unfortunately I can't commit the code from where I work, so expect the fix (and some other important modifications) in about 4-5 hours. FWIW: the key is that I forgot one simple but *very* important line of code in org.apache.fop.fo.FOPropertyMapping.java -- below line 2390 the following should be added m.setInherited(false); Adding this should at least provide you with a temporary band-aid.
The attached FO should work now. Still a few modifications pending WRT spanning cells in a table with unused column-numbers. Expect these later on (in an hour or so).
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed