-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF/UA-1 validation: An annotation, excluding annotations of subtype Widget, PrinterMark or Link, shall be nested within an Annot tag #293
Comments
Additionally from #267 (comment):
|
Currently, the annotation are adding via PDFBOX importing (XFDF) in https://github.com/metanorma/mn2pdf/blob/main/src/main/java/org/metanorma/fop/annotations/Annotation.java. |
I spent a few days but without success. I've asked here https://stackoverflow.com/questions/79083813/how-to-add-the-annotation-tag-in-tagged-pdf-using-pdfbox. |
Here is an example PDF file with a file attachment annot included in this structure tree of the page equivalent to where a sighted user might see the paperclip. Note that that the annot appearance stream (of the paperclip) is NOT required to be marked up (use MCIDs, etc) in PDF/UA-1 as the wording doesn't require it and the context is sufficient given that Desc and Contents entries should be presented by the AT. |
@petervwyatt thank you for the answer. But the initial issue relates to the 'comment' annotation, not 'file attachment'. Source PDF: tagged.pdf Current result - without 'Annot' in the tags tree (with error Expected result - with I have to put the |
The solution here. I'll update |
Also there is a case of
From PDF:
I'll try to fix it also. |
Source: #287
PDF with errors:
iec-rice-en.presentation.pdf
The text was updated successfully, but these errors were encountered: