[
https://issues.apache.org/jira/browse/PDFBOX-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-3408:
-----------------------------------
Description:
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}
Previous versions of PDFBox report an error for such a widget
{code}
5.3.1 : Invalid field value in an annotation definition, The N Appearance must
be a Stream
{code}
was:
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}
> 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}
> Previous versions of PDFBox report an error for such a widget
> {code}
> 5.3.1 : Invalid field value in an annotation definition, The N Appearance
> must be a Stream
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]