It looks like the setLicense method is trying to parse the LicenseInstructions. When running setLicense with the temporary license getting the following error. Is there a way around this as the temporary license is not applied and the evaluation license is still being used.
Fatal Error] :19:123: The reference to entity “d” must end with the ‘;’ delimiter.
Would you please elaborate a little more as temporary license is also known as evaluation license. Kindly share a narrowed down sample application so that we may try to reproduce and investigate it in our environment.
Would you please share complete stack trace and narrowed down sample application containing SSCCE code so that we may try to reproduce and investigate it in our environment. Also share your license as a ZIP file by clicking on my username and then message button.
Before sharing requested data, please ensure using Aspose.PDF for Java 19.3 and latest available versions of other APIs.
I am getting a SaxParseException when the license is being set. It is erroring on this element in the license <LicenseInstructions>https://urldefense.proofpoint.com/v2/url?u=https-3A__purchase.aspose.com_policies_use-2Dlicense**&d=DwIGAg&c=0i6vPcfBD4A2UCOW2UOV9gFNZGFhViJzZW4aaAjp7gA**&r=-w7AyU9rQLIs1N7ZmFBv1z4R7THeGO0GGfvnqEBvyNQ&m=jsSwadr65mSB9BbQloulYtXa3sjLgz_tNB3D7VyhzkA&s=eGU_fXg8haY-npPZGyg6DrH7ddPeSlQ-iipaB_FoahM&e=</LicenseInstructions>
This is most likely due to the license containing the decoded character & instead of &
Please note that the license is a digitally signed file that will no more be valid if modified. You may replace below line in your license to avoid the exception:
Hello. We have a licensed copy of asposetotal for java as well and are faced with the same issue mentioned above. We did change the tag as mentioned above and that helped. I wanted to confirm that changing this is the correct approach?
Modifying the contents like SubscribtionExpiryDate and other fields make the license invalid. However, if wrapping the URL does not produce any exception then it is fine as long as license is set without any problem.