veraPDF / veraPDF-corpus

veraPDF test corpus for ISO 19005 (PDF/A) and ISO 14289 (PDF/UA)
71 stars 18 forks source link

Some files contain destination arrays that point to StructElem, not pages. #302

Closed faceless2 closed 7 months ago

faceless2 commented 8 months ago

PDF_UA-1/7.1 General/7.1-t01-fail-a.pdf contains a destination of the form /D [30 0 R /Fit], where object 30 is a StrucElem.

This, it turns out, is definitely incorrect - see https://github.com/pdf-association/pdfua-twg/issues/1#issuecomment-1961266759

Also applies to 7.1-t01-pass-a.pdf, 7.9-t01-fail-a.pdf and a few other files

faceless2 commented 8 months ago

Confirmed here - https://github.com/pdf-association/pdf-issues/issues/140 - one of yours Boris!

MaximPlusov commented 7 months ago

Fixed (PDF/UA-1 files: 7.1-t01-fail-a.pdf, 7.1-t01-pass-a.pdf, 7.1-t02-fail-a.pdf, 7.1-t02-pass-a.pdf, 7.9-t01-fail-a.pdf, 7.9-t01-fail-b.pdf, 7.9-t01-pass-a.pdf)