Hi Team,
We are using aspose PDF to change the parent tag in the PDF using “ChangeParentElement” method, but some tags are getting corrupted after saving the the PDF
Screen.png (54.7 KB)
Hi Team,
We are using aspose PDF to change the parent tag in the PDF using “ChangeParentElement” method, but some tags are getting corrupted after saving the the PDF
Screen.png (54.7 KB)
To ensure a timely and accurate response, please attach the following resources here for testing:
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.
PS: To attach these resources, please zip and upload them.
Hi Team,
Thanks for your response, requested files are attached in this mail, kindly let us know if anything else needed, could you please check the issue and revert us the with a solution/workaround asap
We are using Aspose PDF library version 20.9.0.0
Description:
When we use Aspose PDF library to manipulate the Tagged/Accessibility pdf, the tag structure are getting deleted in the output pdf as shown below
Then we will validate this PDF using Commonlook Validator tool which shows the below error as this files are corrupted
Input PDF
Output PDF with Issue
Common look validator shows the below corruption error
(Attachment Source_Code.txt is missing)
Corrupted_File.pdf (32.2 KB)
Input_File.pdf (39.4 KB)
You are using very old version of Aspose.PDF. Please upgrade to the latest version of Aspose.Email for .NET 22.6 and let us know how it goes on your side.
If you still face problem, please share the code that you are using. It is missing in your post. Thanks for your cooperation.
Hi Tahir,
Thanks for your response, as advised, I have used Aspose.pdf latest version, but still facing the same issue as requested sample source code are attached
Aspose_Sample.zip (133.4 KB)
We have logged this problem in our issue tracking system as PDFNET-52054. You will be notified via this forum thread once this issue is resolved.
We apologize for your inconvenience.