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

Pierre Huttin commented on PDFBOX-1133:
---------------------------------------

The file sample.xfdf is the xfdf file and the file sample .cdata_decoded.cos is 
the content of the member CDATA element from xfdf document. To decoded it I 
just convert the hex string to a byte array and inflate the byte array.

This file is generated by a comment server library from adobe named 
manhattan_core.jar
                
> Re-factoring org.apache.pdfbox.pdfparser.PDFParser.parseHeader() method
> -----------------------------------------------------------------------
>
>                 Key: PDFBOX-1133
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1133
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Parsing
>    Affects Versions: 1.7.0
>            Reporter: Pierre Huttin
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: PDFParser.java.patch, sample.cdata_decoded.cos, 
> sample.xfdf
>
>
> Re-factoring the method parseHeader() method to support an extra header 
> declaration : "%CSO-".
> This header is foundable into some XFDF document, when the stamp appearance 
> stream is define as complete COSDocument. This special document use 
> "%CSO-1.0" as header declaration.
> So I purpose to enhance the PDFReader to be able to parse this kind of 
> document.
> Pierre Huttin

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to