Free Support Forum - aspose.com

InsertHtml - Table Rendered Incorrectly

Please take a look at the attached HTML. Older version of Aspose.word (Version 3.3.6) produced the table correctly where as the new version is rendering the same HTML incorrectly (Both documents attached).

Thanks!










































































































































Business Lines<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


Net Income




2003


2002


2001



Dominion Generation


508


29.4%


561


34.4%


511


36.2%



Dominion Energy


350


20.3%


268


16.4%


268


19.0%



Dominion Delivery


453


26.2%


422


25.9%


311




Dominion E&P


415


24.0%


380


23.3%


320


22.7%



TOTAL, before Corporate


1,726


100.0%


1,631


100.0%


1,410


100.0%



















Subsidiaries




Net Income




2003


2002


2001



CNG


638


37.0%


638


39.1%


391


27.7%



VEPCO


561


32.5%


773


47.4%


446


31.6%



Dominion Energy & Others*


527


30.5%


220


13.5%


573


40.6%



TOTAL, before Corporate


1,726


100.0%


1,631


100.0%


1,410


100.0%











* Dominion Energy's results approximated by ML Credit




Thanks for reporting this defect to us. I have logged it as a defect #1099.

We will try to fix this issue promptly. I will inform you when the hotfix will be available.

Best regards,

Thanks for your response.

What's the ETA on the hotfix?!? Since the issue was already fixed in a previous hotfix, is it safe to assume it's not something that would require much work?

Yes, I think we will be able to fix this issue soon enough. The next release is planned in 2-3 weeks. I hope we will have this problem corrected by then.

Is it possible for you to post a patch (unofficial) in this forum before the release? we need to deploy the fix on our end soon as this is a production bug for us! Thanks!

Hi,

What do you mean by the incorrect rendering? Is it the absence of table borders in the document produced by 3.7 as compared with the previous version? If so, your source table have no borders either and Word produces a borderless table which is correct. So it seems like the old version of the output was bad. As I remember, we fixed an issue related to HTML table borders some time ago.

If however borders have nothing to do with the problem, please specify the real error.

Try this HTML, InsertHtml() still generates a wrong output! (Document Attached). Aspose.words version 3.7.1.0

















































































































Summary
of Limits/Exposure ($000's)
 

<table align="right" bordercolor="#000000" cellspacing="0" cellpadding="0" width="100%"
ID="Table3">
  INDIVIDUAL  
 
Proposed Limits Existing Limits Exposure  
Max Tenor (Years)   10.0 10.0 N/A
CE   N/A N/A 113
PE Up to 1 Year   100,000 100,000 4,072
PE 1 to 5 Years   20,000 20,000
PE 5 to 10 Years   15,000 15,000
PE 10 to 20 Years   0 0
PE Over 20 Years   0 0
Inventory   100,000 100,000
CP Outstanding   10,000 10,000
Fed Funds/Placements < 6
months  
0 0
Primary Loans Deposit >= 6   0 0
Asset-Based Lending  
Delivery/Settlement  






Looks like this going to be fixed, but an early patch is not possible. The fix will go out in the next release, hopefully in 2-3 weeks. If an earlier version of Aspose.Words worked for you fine, just use it for a little while more.

FYI, this HTML works fine with the Aspose.words version 3.5.2.0

We have fixed this issue in Aspose.Words 4.0 which was released recently. The HTML is imported correctly now.

Best regards,