jhove icon indicating copy to clipboard operation
jhove copied to clipboard

Consistency between /Parent and /Kids for Page Tree Node and Page Object not checked

Open asciim0 opened this issue 7 years ago • 2 comments

Dev Effort

2D

Description

Each page object dictionary must include a key value pair /Parent with an indirect reference to the page tree node which is the direct parent of itself. As the parent page tree node includes a reference to each page via the /Kids key value entry, a consistency check is possible but does not seem to currently take place. Test case T02-03_004 of the ipres test corpus points to the wrong object as its parent. Correct parent obj 1 has been replaced with obj 3. As a result the object is rendered incorrectly (missing content), but JHOVE considers it to be well-formed and valid.

asciim0 avatar Apr 01 '17 05:04 asciim0

Hi @asciim0 I'm not addressing this for v1.20 as I'm a little uneasy about the knock on effects of introducing this consistency check without more time to test. My thoughts are that most documents have multiple pages so this would be a new check that's likely to see a lot of use and discretion is the better part of valour. Will fix early for the next development cycle.

carlwilson avatar Mar 19 '18 10:03 carlwilson