pdf-association / arlington-pdf-model

A vendor- and implementation-independent specification-derived, machine-readable model of PDF.
Apache License 2.0
77 stars 6 forks source link

Extend Arlington model for PDF/A-3 Associated Files feature (PDF 1.7 extension) #113

Closed petervwyatt closed 7 months ago

petervwyatt commented 7 months ago

Impacts AFRelationship key and AF everywhere. Use ISO_19005_3 to mirror other ISO extensions that all use the ISO document number:

"SinceVersion" = fn:Eval(fn:Extension(ISO_19005_3,1.7) || 2.0)

petervwyatt commented 7 months ago

But not for the excluded annots in PDF/A-3: 3D, Sound, Screen, Movie (and, of course, RichMedia which was only introduced in PDF 2.0).

And for those that were only introduced by the Adobe extensions to PDF 1.7 also need fn:Eval((fn:Extension(ADBE_ExtnXXX,1.7) && fn:Extension(ISO_19005_3,1.7)) || 2.0)

MaximPlusov commented 7 months ago

Method reduceSinceVersion from GCXML doesn't support case fn:Eval((fn:Extension(ADBE_ExtnXXX,1.7) && fn:Extension(ISO_19005_3,1.7)) || 2.0) for now.

petervwyatt commented 6 months ago

Yes - sorry. I have an ANTLR grammar that is not quite ready for prime-time to permanently address these kinds of issues. I'll see if I can do a temporary patch in the meantime.