[ 
https://issues.apache.org/jira/browse/PDFBOX-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15361552#comment-15361552
 ] 

Maruan Sahyoun commented on PDFBOX-3408:
----------------------------------------

Yes, I know - let's keep it in the state you implemented it as there seems to 
be support for doing it this way - or even validating Widget annotations coming 
from the AcroForms side. There is a current discussion towards that direction 
although Leonard has pointed out that the spec talks about annotations, which 
would technically mean that we shouldn't go up. OTOH the implemented behavior 
reflects the need a fillable PDF/A form would have. 

> Correct validation of Widget Annotations for PDF/A-1
> ----------------------------------------------------
>
>                 Key: PDFBOX-3408
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3408
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>    Affects Versions: 1.8.12, 2.0.2, 2.0.3, 2.1.0
>            Reporter: Maruan Sahyoun
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 2.0.3, 2.1.0
>
>         Attachments: PDFBOX-3408.pdf
>
>
> The TECHNICAL CORRIGENDUM 2 for ISO 19005-1:2005 (PDF/A-1) added a clause for 
> Widget Annotations:
> {quote}
> For all annotation dictionaries containing an AP key, the appearance 
> dictionary that it defines as its value shall contain only the N key. If an 
> annotation dictionary’s Subtype key has a value of Widget and its FT key has 
> a value of Btn, the value of the N key shall be an appearance subdictionary; 
> otherwise the value of the N key shall be an appearance stream.
> {quote}
> We currently (only) validate with the original clause of ISO 19005-1:2005 
> (PDF/A-1) which has
> {quote}
> If an annotation dictionary contains the AP key, the appearance dictionary 
> that it defines as its value shall contain only the N key, whose value shall 
> be a stream defining the appearance of the annotation.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to