Header, footer and content of tabel is changed using .NET

I have a html table with header footer and body. Aspose is printing the table as way it appears instead of displaying like header, content and footer.
Here is encode html string for reference:
PHRhYmxlPiAKICAgIDx0aGVhZD4gCiAgICAgPHRyPiAKICAgICAgPHRkPkhlYWRlciAxPC90ZD4gCiAgICAgIDx0ZD5IZWFkZXIgMjwvdGQ+IAogICAgICA8dGQ+SGVhZGVyIDM8L3RkPiAKICAgICA8L3RyPiAKICAgIDwvdGhlYWQ+IAogICAgPHRmb290PiAKICAgICA8dHI+IAogICAgICA8dGQ+Rm9vdGVyIDE8L3RkPiAKICAgICAgPHRkPkZvb3RlciAyPC90ZD4gCiAgICAgIDx0ZD5Gb290ZXIgMzwvdGQ+IAogICAgIDwvdHI+IAogICAgPC90Zm9vdD4gCiAgICA8dGJvZHk+IAogICAgIDx0cj4gCiAgICAgIDx0ZD5DZWxsIDE8L3RkPiAKICAgICAgPHRkPkNlbGwgMjwvdGQ+IAogICAgICA8dGQ+Q2VsbCAzPC90ZD4gCiAgICAgPC90cj4gCiAgICA8L3Rib2R5PiAKICAgPC90YWJsZT4g

@ShivaShanker

Please ZIP and attach your input, problematic output and expected output documents along with code example. We will investigate the issue and provide you more information on it.

sample.html.zip (576 Bytes)
Please find the attached sample html file.
Though html is having thead,tfoot and then body tag. I want it to be displayed like header, body and then footer.

@ShivaShanker

Please note that Aspose.Words mimics the behavior of MS Word. If you convert your HTML to DOCX/PDF using MS Word, you will get the same output.

To ensure a timely and accurate response, please attach the following resources here for testing:

  • Please attach the output document that shows the undesired behavior.
  • Please attach the expected output document that shows the desired behavior.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.