Eric Lim updated FOP-2688:
    Comment: was deleted

(was: There is still an issue when URI has unbalance parenthesis.  The link 
does not work!

Currently FOP produces:
7 0 obj
<< /URI (simple_%5Breport%5D_(version2.pdf)
/S /URI >>

There should be an escape slash in front of the second parenthesis.)

> [PATCH] basic-link external-destination does not work for file URI with 
> parenthesis and brackets
> ------------------------------------------------------------------------------------------------
>                 Key: FOP-2688
>                 URL: https://issues.apache.org/jira/browse/FOP-2688
>             Project: FOP
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Eric Lim
>         Attachments: basic-link.patch, FOP-2688(dest).pdf, 
> FOP-2688-file-paren-bracket-uri.fo, FOP-2688.fo, 
> FOP-2688-unbalanced-paren.fo, FOP-2688 (with patch).pdf, 
> simple_[report]_(version2).pdf
> fo:basic-link external-destinations fails when target URIs contains 
> parenthesis or square brackets.
> For square brackets, fop may throw an invalid URI exception.
> For parenthesis, fop does not escape out parenthesis for URI action.
> Parenthesis and square brackets are pretty common for file names but not for 
> URIs...

This message was sent by Atlassian JIRA

Reply via email to