Thanks for your inquiry. After initial investigation, we have logged an enhancement ticket PDFNEWJAVA-35253 in our issue tracking system for rectification. We will keep you updated about the issue resolution progress within this forum thread.
Thanks for your patience. Please use XmlLoadOptions to load XML from file or stream for XML to PDF conversion. Please check the following code snippet for the purpose, it will help you to accomplish the task.
XmlLoadOptions options = new XmlLoadOptions();
com.aspose.pdf.Document doc = new com.aspose.pdf.Document(
new ByteArrayInputStream(xml.getBytes()), options);
doc.save(testdata + "PDFNEWJAVA_35253/out.pdf");
Please feel free to contact us for any further assistance.
Best Regards,
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.