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

William Palmer commented on PDFBOX-1540:
----------------------------------------

We would like as much (relevant) information about the files as possible.  We 
just changed what was already output to the console and wrapped it in XML.  It 
was handy to add a count for identical error code/details as some happened 
quite a lot and it dramatically reduced the output size.

I think the only element we would definitely want would be an <isValid>, as in 
the examples, with an attribute noting pdf type/version.  Run time is also a 
useful metric to have, if possible.  

There is a PLANETS ontology here: http://sourceforge.net/projects/xcltools/ but 
I have not had a chance to look at it.

Thanks for your interest
                
> Add XML output option to preflight
> ----------------------------------
>
>                 Key: PDFBOX-1540
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1540
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Preflight
>    Affects Versions: 1.8.0
>         Environment: NA
>            Reporter: William Palmer
>            Assignee: Guillaume Bailleul
>            Priority: Minor
>              Labels: features, request, xml
>
> As part of a recent SPRUCE hackathon 
> (http://wiki.opf-labs.org/display/SPR/Home) we added XML output to preflight. 
>  It would be good if preflight was able to offer this sort of output by 
> default.  Example outputs from our code are here: 
> https://github.com/petecliff/pdfeh/tree/master/sample_preflight_outputs  Our 
> XML output code is here: https://github.com/willp-bl/preflight-app-mod  You 
> might want to implement it your own way?
> As an aside; we have a format corpus of test files here: 
> https://github.com/openplanets/format-corpus  Use of the files and 
> contributions are encouraged!
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to