Import of HTML fails when script tag uses CDATA

When creating a new Cells workbook by loading an HTML file, no output is shown when the javascript is embedded within the CDATA node.

HTML with JavaScript without CDATA
<script type="text/javascript">
alert("Please ignore");
content

HTML with JavaScript embeded within a CDATA node
<script type="text/javascript">
//<![CDATA[
alert("Please ignore");
//]]>
content


C#
var workbook = new Workbook(htmlStream, new LoadOptions(LoadFormat.Html));

The first option works like a charm, the second one has no output. That seems like a bug to me.

Hi Corniel,


Thank you for contacting Aspose support.

I have evaluated the presented scenario while using the latest version of Aspose.Cells for .NET 8.9.1, and I am able to replicate the said issue on my side. I have logged this incident as CELLSNET-44681 for further investigation and correction purposes. Please spare us little time for proper analysis. In the meanwhile, we will keep you posted with updates in this regard.

Any update on this?

Hi Corniel,

Thank you for writing back.

I am afraid, we haven’t yet received any updates regarding the ticket CELLSNET-44681, however, we have requested the concerned member of the product team to share the analysis results as well as the ETA. As soon as we get any news, we will post here for your kind reference.

Hi,

Thanks for using Aspose.Cells.

We are working over your issue and we are hopeful, your issue will be fixed by 31-Aug-2016. Once, the fix is available for you, we will provide you a download link of the fix in this thread.

That’s good news!

Hi again,


This is to update you that the issue logged earlier as CELLSNET-44681 has been marked resolved. We will shortly share the fix here for your testing.
Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for .NET v8.9.2.6 and let us know your feedback.

Corniel asked me to perform the test; sorry for the delay. With the attached version (8.9.2.7), I can no longer reproduce the problem, so I’d say your fix has been successful!

Hi,


Thanks for your feedback.

Good to know that your issue is sorted out by the latest version/fix. Feel free to contact us anytime if you need further help or have some other issue or queries, we will be happy to assist you soon.

Thank you.

The issues you have found earlier (filed as CELLSNET-44681) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan