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

Free Support Forum - aspose.com

Invalid character- but it's corrected

I’m testing Aspose Pdf.

I need to convert the XPS file to PDF.
in case, it gave me the exception.

It’s possible to correct convert it.

Exception in thread “main” class com.aspose.ms.System.Xml.hr: Invalid character was found. Line 19, position 304.
com.aspose.ms.System.Xml.lz.f(Unknown Source)
com.aspose.ms.System.Xml.lz.j(Unknown Source)
com.aspose.ms.System.Xml.lz.Y(Unknown Source)
com.aspose.ms.System.Xml.lz.j(Unknown Source)
com.aspose.ms.System.Xml.ly.j(Unknown Source)
com.aspose.ms.System.Xml.bc.j(Unknown Source)
com.aspose.ms.System.Xml.ow.j(Unknown Source)
com.aspose.ms.System.Xml.me.j(Unknown Source)
com.aspose.ms.System.Xml.gx.d(Unknown Source)
com.aspose.ms.System.Xml.gx.d(Unknown Source)
com.aspose.ms.System.Xml.gx.b(Unknown Source)
com.aspose.ms.System.Xml.gx.a(Unknown Source)
com.aspose.ms.System.Xml.gx.a(Unknown Source)
com.aspose.o.h.a(Unknown Source)
aspose.pdf.html.HtmlWeb.convert$25dd47b3(Unknown Source)
com.aspose.pdf.ADocument.a(Unknown Source)
com.aspose.pdf.ADocument.(Unknown Source)
at com.aspose.ms.System.Xml.lz.f(Unknown Source)
at com.aspose.ms.System.Xml.lz.j(Unknown Source)
at com.aspose.ms.System.Xml.lz.Y(Unknown Source)
at com.aspose.ms.System.Xml.lz.j(Unknown Source)
at com.aspose.ms.System.Xml.ly.j(Unknown Source)
at com.aspose.ms.System.Xml.bc.j(Unknown Source)
at com.aspose.ms.System.Xml.ow.j(Unknown Source)
at com.aspose.ms.System.Xml.me.j(Unknown Source)
at com.aspose.ms.System.Xml.gx.d(Unknown Source)
at com.aspose.ms.System.Xml.gx.d(Unknown Source)
at com.aspose.ms.System.Xml.gx.b(Unknown Source)
at com.aspose.ms.System.Xml.gx.a(Unknown Source)
at com.aspose.ms.System.Xml.gx.a(Unknown Source)
at com.aspose.o.h.a(Unknown Source)
at aspose.pdf.html.HtmlWeb.convert$25dd47b3(Unknown Source)
at com.aspose.pdf.ADocument.a(Unknown Source)
at com.aspose.pdf.ADocument.(Unknown Source)
at xps2pdf.main(xps2pdf.java:20)

Hi Danny,

We are sorry for the inconvenience caused. While testing the scenario with the latest version of Aspose.Pdf for java 4.5.0, We have managed to reproduce the reported issue and logged it in our bug tracking system as PDFNEWJAVA-33972 for further investigation and resolution. We will notify you via this thread as soon as it is resolved.

Please feel free to contact us for any further assistance.

Best Regards,

when you check the file content, you can find the special word.

but that is not invalid, it’s correct in Chinese.

when i convert this word( http://www.cns11643.gov.tw/AIDB/png.do?page=3&code=6474 ), it was given me the exception.

You can refer http://www.cns11643.gov.tw/AIDB/query_general_en.do?active=3 and type ‘iyrl’, then you can see the word

Hi Danny,

Thanks for sharing the details.

We will definitely consider this information during the resolution of this problem. As soon as we have made some definite progress towards the resolution of this issue, we would be more than happy to update you with the status of correction.

The issues you have found earlier (filed as PDFNEWJAVA-33972) have been fixed in Aspose.Pdf for Java 9.3.0.

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