Duplicate XML annotation tags found when placing single annotations

Which product are you using?
PDF.js Express Plus

PDF.js Express Version
8.7.0

Detailed description of issue
Placing one annotation results in the creation of multiple XML Tags in the XFDF String even if there is a single item visible on the annotations

Does your issue happen with every document, or just one?
Attached the document
ESS01 ENG ICA RPO 0003 Rev A ESD Philosophy.pdf (496.0 KB)

Hi there,

Loading the provided document into our demo PDF.js Viewer Demo | PDF.js Express
and getting the annotations on the document, there seems to be multiple link annotations that are in the 2nd page:

Best regards,
Kevin Kim

Hi. Is there a way to ignore the existing annotations and only export the recently added annotations?

Hi there,

One method would be to delete all the annotations that are inside the document when the document and annotations are loaded. Example in this guide here:

Another method is to pass in a list of only the annotations you want to export, via the options in the exportAnnotations API:
https://pdfjs.express/api/Core.AnnotationManager.html#:~:text=Description-,annotList,-Array.<Core

Best regards,
Kevin Kim