[ 
https://issues.apache.org/jira/browse/PDFBOX-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290908#comment-14290908
 ] 

Tilman Hausherr commented on PDFBOX-2630:
-----------------------------------------

This is now our output, although not in that order. I've resorted it to compare 
it to the output of the PDF Tools validator, the errors are the same, although 
ours are more detailed. But I we're obviously both using the same algorithm. 
I've also implemented additional loop detection, although there aren't any.
{code}
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{212, 0} on a level is COSObject{212, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{214, 0} on a level is COSObject{214, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev at COSObject{215, 0} doesn't point 
to previous object COSObject{214, 0}, but to COSObject{215, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{213, 0} doesn't point 
to previous object COSObject{212, 0}, but to COSObject{213, 0}
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{217, 0} on a level is COSObject{217, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev at COSObject{218, 0} doesn't point 
to previous object COSObject{217, 0}, but to COSObject{218, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{219, 0} doesn't point 
to previous object COSObject{218, 0}, but to COSObject{219, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{216, 0} doesn't point 
to previous object COSObject{213, 0}, but to COSObject{216, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{220, 0} doesn't point 
to previous object COSObject{216, 0}, but to COSObject{220, 0}
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{222, 0} on a level is COSObject{222, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev at COSObject{223, 0} doesn't point 
to previous object COSObject{222, 0}, but to COSObject{223, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{224, 0} doesn't point 
to previous object COSObject{223, 0}, but to COSObject{224, 0}
1.4.9 : Outlines invalid, The value of /Prev at COSObject{221, 0} doesn't point 
to previous object COSObject{220, 0}, but to COSObject{221, 0}
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{226, 0} on a level is COSObject{226, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev at COSObject{225, 0} doesn't point 
to previous object COSObject{221, 0}, but to COSObject{225, 0}
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{211, 0} on a level is COSObject{211, 0}, but shouldn't exist
1.4.9 : Outlines invalid, The value of /Prev of first level object 
COSObject{210, 0} on a level is COSObject{210, 0}, but shouldn't exist
{code}

> "loop in destinations" not detected by preflight
> ------------------------------------------------
>
>                 Key: PDFBOX-2630
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2630
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: Preflight
>    Affects Versions: 1.8.8, 1.8.9, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>         Attachments: validierung_von_pdfa.pdf
>
>
> The Bavaria testsuite requests to detect "Contains loops in destinations" in 
> the attached file. I'm not sure what they mean, but PDF-Tools detects this 
> and we don't: 
> {quote}
> The value of the key Prev is 212 0 R but must be 0 0 R.
> The value of the key Prev is 214 0 R but must be 0 0 R.
> The value of the key Prev is 215 0 R but must be 214 0 R.
> The value of the key Prev is 213 0 R but must be 212 0 R.
> The value of the key Prev is 217 0 R but must be 0 0 R.
> The value of the key Prev is 218 0 R but must be 217 0 R.
> The value of the key Prev is 219 0 R but must be 218 0 R.
> The value of the key Prev is 216 0 R but must be 213 0 R.
> The value of the key Prev is 220 0 R but must be 216 0 R.
> The value of the key Prev is 222 0 R but must be 0 0 R.
> The value of the key Prev is 223 0 R but must be 222 0 R.
> The value of the key Prev is 224 0 R but must be 223 0 R.
> The value of the key Prev is 221 0 R but must be 220 0 R.
> The value of the key Prev is 226 0 R but must be 0 0 R.
> The value of the key Prev is 225 0 R but must be 221 0 R.
> The value of the key Prev is 211 0 R but must be 0 0 R.
> The value of the key Prev is 210 0 R but must be 0 0 R.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to