Sorry!  My bad!!!  Thanks for your patience and help!  Changing the end-tag to a start-tag on the row fixed the problem.  So for this HTML code, this is the error iText gives.
 
Thanks again,
 


Bruno Lowagie <[EMAIL PROTECTED]> wrote:
i t wrote:

> the following error :
>
> error = Insertion of illegal Element: 20

In this class you find the meaning of the number 20:
http://itext.sourceforge.net/src/com/lowagie/text/Element.java
public static final int CELL = 20

So you are trying to add a cell into an object that is not a row.
In your code however I see something that should throw another exception:

> The HTML I am using is:
>
>
>
>
>
>
> > border='2.00' bordercolor='#0011ff'>

This is an end-tag.

>

It should be a start tag.

>
>
>
This is a test table.

>
>




ituser111


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

Reply via email to