You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Eric Leleu (JIRA)" <ji...@apache.org> on 2011/09/08 17:49:09 UTC

[jira] [Created] (PDFBOX-1117) [Preflight] Continue the PDF validation after syntax error

[Preflight] Continue the PDF validation after syntax error
----------------------------------------------------------

                 Key: PDFBOX-1117
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1117
             Project: PDFBox
          Issue Type: Improvement
          Components: Preflight
    Affects Versions: 1.7.0
            Reporter: Eric Leleu
            Priority: Minor


Currently, the PDF content isn't checked if the PDF Syntax is invalid.
Study the possibility to continue the validation process if the grammar throws an exception. 
It should be possible but I prefer to check that there aren't bad effects. 


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1117) [Preflight] Continue the PDF validation after syntax error

Posted by "William Fausser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107537#comment-13107537 ] 

William Fausser commented on PDFBOX-1117:
-----------------------------------------

Thanks again

> [Preflight] Continue the PDF validation after syntax error
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1117
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1117
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: Eric Leleu
>            Assignee: Eric Leleu
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> Currently, the PDF content isn't checked if the PDF Syntax is invalid.
> Study the possibility to continue the validation process if the grammar throws an exception. 
> It should be possible but I prefer to check that there aren't bad effects. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PDFBOX-1117) [Preflight] Continue the PDF validation after syntax error

Posted by "Eric Leleu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Leleu resolved PDFBOX-1117.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Eric Leleu

Now the validation continues after a syntax error

> [Preflight] Continue the PDF validation after syntax error
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1117
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1117
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: Eric Leleu
>            Assignee: Eric Leleu
>            Priority: Minor
>             Fix For: 1.7.0
>
>
> Currently, the PDF content isn't checked if the PDF Syntax is invalid.
> Study the possibility to continue the validation process if the grammar throws an exception. 
> It should be possible but I prefer to check that there aren't bad effects. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PDFBOX-1117) [Preflight] Continue the PDF validation after syntax error

Posted by "William Fausser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-1117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102781#comment-13102781 ] 

William Fausser commented on PDFBOX-1117:
-----------------------------------------

I was thinking that in some cases where it is not a hard error caused by syntax, that it would be useful to see results of the validation tests.  I am asking because
sometimes there is a need to validate an non PDF/A pdf document.  It seems like all the work is already done and a front end could be developed to just check the
error returned in order to validate a non-pdf/a.  For example, if there is a need to validate pdfs containing JavaScript, then the  error code could be checked to deny
JavaScript or embedded JavaScript if the current PDF syntax would continue into the regular validation process. 

> [Preflight] Continue the PDF validation after syntax error
> ----------------------------------------------------------
>
>                 Key: PDFBOX-1117
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1117
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 1.7.0
>            Reporter: Eric Leleu
>            Priority: Minor
>
> Currently, the PDF content isn't checked if the PDF Syntax is invalid.
> Study the possibility to continue the validation process if the grammar throws an exception. 
> It should be possible but I prefer to check that there aren't bad effects. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira