Hi Chris, Thanks for the quick reply. I will raise the bug in bugzilla.
Also0 where do you see the FO being invalid ? Are you referring to the missing <fo:table-cell colum-number="2"> ? If so, I could not find anywhere in the XSL-FO 1.0 recommendation, that you must specify every table-cell in a row, if column-number and fo:table-column are defined. Could you point me to the part of the XSL-FO 1.0 recommendation that specifies this. The sample I send is producing the expected PDF in Fop-0.92 ? Fop-0.92 and Fop-0.93 don't seems to see this FO the same way. Fop-092 -> FO is valid Fop-093 -> Should raise an FO validation error. Which one is right ? Thanks again for your help. Guillaume -----Message d'origine----- De : Chris Bowditch [mailto:[EMAIL PROTECTED] Envoyé : mardi 30 janvier 2007 16:29 À : [email protected] Objet : Re: fop-0.93. error when missing fo:table-cell column-number and number-rows-spanned used in the same fo:table LEVRERO, Guillaume wrote: > Hi, > > We have noticed an error in our FO transforms when we upgraded to fop-0.93. > Platform: XP SP2, Java JDK 1.5.0_06. > > Executing fop0.92 with the FO below produces the correct PDF. > Executing same FO with fop0.93 gives following error: > > java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 > at java.util.ArrayList.RangeCheck(ArrayList.java:546) > at java.util.ArrayList.set(ArrayList.java:337) > at > org.apache.fop.fo.flow.TableFObj.updateColumnIndex(TableFObj.java:160) > ..... > > This error seems to occurs because there is no <fo:table-cell > column-number="2"> on the first row and a number-rows-spanned="2" is applied > to the last <fo:table-cell> of row 1. > > Is this a FOP0.93 bug/regression ? Well your FO is invalid but FOP should tell you that rather than just throwing an AIOOB Exception! As a wild guess, the column error handling might have been broken when bug 35656 was fixed. Please feel free to raise a bug in Bugzilla and attach your sample FO. Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. This e-mail is intended only for the above addressee. It may contain privileged information. If you are not the addressee you must not copy, distribute, disclose or use any of the information in it. If you have received it in error please delete it and immediately notify the sender. Security Notice: all e-mail, sent to or from this address, may be accessed by someone other than the recipient, for system management and security reasons. This access is controlled under Regulation of security reasons. This access is controlled under Regulation of Investigatory Powers Act 2000, Lawful Business Practises. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
