jhove icon indicating copy to clipboard operation
jhove copied to clipboard

PDF module "Problem with page label structure" - offset does not point to page label structure

Open asciim0 opened this issue 5 years ago • 4 comments

I recently encountered a PDF with a "Problem with page label structure" error message. When looking at the offset reported, it is located nowhere near the page label structure - it's actually located after an endobj command between an obj containing a FontDescriptor and an object containing a stream. I find this confusing - the location may have made sense to me if close to a page object, but this is not the case. Futhermore, the PageLabel structure looks fine. Unfortunately, I cannot share the document publicly. Is there an option to get more information on when the page label structure error is reported?

asciim0 avatar Mar 28 '19 16:03 asciim0

As additional information, I'm including the PageLabel section here. I've migrated the object into different PDF versions and will include all versions of the PageLabel sections which caused problems. Each PDF only had 1 PageLabel entry.

example1

1 0 obj <</Type /Catalog /Pages 3 0 R /PageLabels<< /Nums [19 << /S /D

]

/Metadata 879 0 R

endobj ################

example2

1220 0 obj <</Metadata 614 0 R/Outlines 1215 0 R/OutputIntents 1217 0 R/PageLabels<</Nums[19<</S/D>>]>>/Pages 1216 0 R/Type/Catalog>> endobj ################

example 3

1190 0 obj <</Metadata 453 0 R/PageLabels<</Nums[19<</S/D>>]>>/Pages 1187 0 R/Type/Catalog>> endobj ################

asciim0 avatar Mar 28 '19 16:03 asciim0

Any news on this? The error keeps on popping up as a false positve. Just had another one of the following pageLabel structure in the Catalog dictionary:

/PageLabels << /Nums [ 2 << /S /r >> 20 << /S /D >> ] >>

asciim0 avatar Feb 26 '24 16:02 asciim0

it's been over 5 years since I've opened this issue and the problem still keeps on popping up. The most recent /PageLables looked like this: << /Nums [ 2 << /S /D >> 3 << /S /D >> ] >>

I can't spot what is supposed to be wrong with this.

asciim0 avatar May 16 '24 13:05 asciim0