How to include a table in a header?

I want to include a Table in a Header.
This code works where the table is OUTSIDE the header:





text test






table test







But THIS code where the table is INSIDE the header gives me an
Acrobat error “Object is not valid”:








#$NL12435 Berlin








Why does it make a difference whether the Table is in a Header or in the Section, since it is a kind of paragraph just as Text is a kind of paragraph.

How can I include the Table in the Header without an Acrobat error?

Thanks,
Edward

Dear Edward,

Thank you for considering aspose.

I have tested your XML and have not found any Acrobat error. Would you please send the pdf file to me?