[jira] [Commented] (FOP-2514) Empty hyphenation-character leads to "String index out of range: 0"

2019-02-28 Thread JIRA


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

Björn Kautler commented on FOP-2514:


no problem, patch attached

> Empty hyphenation-character leads to "String index out of range: 0"
> ---
>
> Key: FOP-2514
> URL: https://issues.apache.org/jira/browse/FOP-2514
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
> Attachments: issue-2514.patch
>
>
> If you set hyphenation-character to the empty value, then you get the error 
> message "String index out of range: 0".
> If there is no hyphenation-character set, there should simply nothing be used.
> This is useful in cases where you want hyphenation but no hyphenation 
> character like in program listings or similar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-2514) Empty hyphenation-character leads to "String index out of range: 0"

2019-02-28 Thread Chris Bowditch (JIRA)


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

Chris Bowditch commented on FOP-2514:
-

Thanks for developing a fix for the issue. However, the process for submitting 
patches is to attached a SVN diff file, see: 
[https://xmlgraphics.apache.org/fop/dev/#patches]

> Empty hyphenation-character leads to "String index out of range: 0"
> ---
>
> Key: FOP-2514
> URL: https://issues.apache.org/jira/browse/FOP-2514
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
>
> If you set hyphenation-character to the empty value, then you get the error 
> message "String index out of range: 0".
> If there is no hyphenation-character set, there should simply nothing be used.
> This is useful in cases where you want hyphenation but no hyphenation 
> character like in program listings or similar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (FOP-2514) Empty hyphenation-character leads to "String index out of range: 0"

2019-02-19 Thread JIRA


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

Björn Kautler commented on FOP-2514:


PR at [https://github.com/apache/fop/pull/45]

> Empty hyphenation-character leads to "String index out of range: 0"
> ---
>
> Key: FOP-2514
> URL: https://issues.apache.org/jira/browse/FOP-2514
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
>
> If you set hyphenation-character to the empty value, then you get the error 
> message "String index out of range: 0".
> If there is no hyphenation-character set, there should simply nothing be used.
> This is useful in cases where you want hyphenation but no hyphenation 
> character like in program listings or similar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)