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

Adam Nichols commented on PDFBOX-716:
-------------------------------------

Issue not present in 1.1.0 tag.

> right parenthess are not handled properly in bookmarks
> ------------------------------------------------------
>
>                 Key: PDFBOX-716
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-716
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>         Environment: Windows Vista 32-bit, Java 1.5.0_06, PDFBox HEAD tag 
> (revision 939870)
>            Reporter: Adam Nichols
>             Fix For: 1.2.0
>
>         Attachments: parentheses_fail.pdf
>
>
> Bookmarks with a right parenthesis are not parsed correctly.  Instead of a 
> right parenthesis ")", a backslash "\" is output.  For example "(L(I((S)P)))" 
> becomes "(L(I((S\P\\\".
> I'm attaching a file which demonstrates the issue.  Sample code segment to 
> reproduce this:
> doc = PDDocument.load(inputFile);
> PDDocumentOutline root = doc.getDocumentCatalog().getDocumentOutline();
> if(root != null) {
>     PDOutlineItem item = root.getFirstChild();
>     System.out.println("title = " + item.getTitle());
> }
> I'll post a patch if I can figure out where this issue lies.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to