[jira] [Commented] (FOP-2515) Use default value for keep-with-next if inherit and parent has no explicit value

2019-02-28 Thread JIRA


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

Björn Kautler commented on FOP-2515:


no problem, patch attached

> Use default value for keep-with-next if inherit and parent has no explicit 
> value
> 
>
> Key: FOP-2515
> URL: https://issues.apache.org/jira/browse/FOP-2515
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
> Attachments: issue-2515.patch
>
>
> If I have keep-with-next="inherit" on a fo:block, but no explicit value on 
> the parent FO, FOP tells me this with {{keep-with-next="inherit" on fo:block, 
> but no explicit value found on the parent FO.}}.
> I'd expect that inherit just inherits what is used on the parent, no matter 
> whether this is explicitly set or not.
> So if the parent is using the default value, the one that inherits should 
> simply also use the default value and not output anyhting.



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


[jira] [Commented] (FOP-2515) Use default value for keep-with-next if inherit and parent has no explicit value

2019-02-28 Thread Chris Bowditch (JIRA)


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

Chris Bowditch commented on FOP-2515:
-

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

> Use default value for keep-with-next if inherit and parent has no explicit 
> value
> 
>
> Key: FOP-2515
> URL: https://issues.apache.org/jira/browse/FOP-2515
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
>
> If I have keep-with-next="inherit" on a fo:block, but no explicit value on 
> the parent FO, FOP tells me this with {{keep-with-next="inherit" on fo:block, 
> but no explicit value found on the parent FO.}}.
> I'd expect that inherit just inherits what is used on the parent, no matter 
> whether this is explicitly set or not.
> So if the parent is using the default value, the one that inherits should 
> simply also use the default value and not output anyhting.



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


[jira] [Commented] (FOP-2515) Use default value for keep-with-next if inherit and parent has no explicit value

2019-02-19 Thread JIRA


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

Björn Kautler commented on FOP-2515:


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

> Use default value for keep-with-next if inherit and parent has no explicit 
> value
> 
>
> Key: FOP-2515
> URL: https://issues.apache.org/jira/browse/FOP-2515
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.0
>Reporter: Björn Kautler
>Priority: Major
>
> If I have keep-with-next="inherit" on a fo:block, but no explicit value on 
> the parent FO, FOP tells me this with {{keep-with-next="inherit" on fo:block, 
> but no explicit value found on the parent FO.}}.
> I'd expect that inherit just inherits what is used on the parent, no matter 
> whether this is explicitly set or not.
> So if the parent is using the default value, the one that inherits should 
> simply also use the default value and not output anyhting.



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