We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

An error is thrown when processing svg


We use your product when processing https://www.highcharts.com/demo charts. This is a library for drawing svg graphs.

The problem occurs when the data consists of a single period. The graph line type is dashed. This path looks like a dot.
In this case, aspose throws an error when processing the document.

This part of the code leads to the error:

<path fill="none" d="M 126.1 219.9747" class="highcharts-graph" data-z-index="1" stroke="#FFA800" stroke-width="2" stroke-dasharray="2,6"></path>

The error stops reproducing if we change d-attribute (stretch the path) or set stroke-dasharray to “none”

The file causing the error is attached
input-x.7z (1.8 KB)

@ruinfax We have reproduced and logged the issue as WORDSNET-23405. We will keep you informed and let you know once it has been resolved. We apologize for your inconvenience.

Hello, @Vadim.Saltykov
I see that WORDSNET-23405 status has been changed to “Closed”.
Does this mean the bug fixed?

@ruinfax Yes, the issue is already resolved. The fix will be included into the next 22.3 version of Aspose.Words, which will be released at the beginning of March.

The issues you have found earlier (filed as WORDSNET-23405) have been fixed in this Aspose.Words for .NET 22.3 update also available on NuGet.