What version of FOP is this?  I currently have developers that do this all
of the time and it looks like FOP just "ignores" it.  I am using FOP
0.20.3.

If a newer version if throwing an exception it would be good to know now.

-Lou



                                                                                
                                                              
                    [EMAIL PROTECTED]                                           
                                                                  
                    rama.com             To:     [EMAIL PROTECTED]              
                                                        
                                         cc:                                    
                                                              
                    05/15/2003           Subject:     table-cell suggestion     
                                                              
                    11:45                                                       
                                                              
                    Please                                                      
                                                              
                    respond to                                                  
                                                              
                    fop-user                                                    
                                                              
                                                                                
                                                              
                                                                                
                                                              




I was getting a crash in FOP.
This happened when I would declare a table with a given amount of columns,
and
one of my rows did not specify enough columns.

I would get a npe on the getTableCell method.
Perhaps the code can be modified to catch this exception and proceed with
the
processing of the document.
Catch the exception and continue processing as if the missing table cells
were
present and empty?

Just some thoughts.  Sorry no code.

For example:

<fo:table>
<fo:table-column column-width="5cm"/>
<fo:table-column column-width="5cm"/>

<fo:table-body>
<fo:table-row>
<fo:table-cell>
Column 1
</fo:table-cell>
</fo:table-row>
</fo:table-body>

</fo:table>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to