You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/07/30 17:39:19 UTC

[Bug 53598] Simple FO file with nested lists fails to render PDF; reports "Illegal value for breakClass: -1"

https://issues.apache.org/bugzilla/show_bug.cgi?id=53598

--- Comment #1 from Robert Meyer <rm...@hotmail.co.uk> ---
Created attachment 29140
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29140&action=edit
A patch to resolve the -1 BreakElement default

Hi. I had a look at this and it is complaining because it is trying to compare
a break with another element but fails because its breakClass is -1. This can
be traced back to InlineLayoutManager.java:356 where it is using a default
constructor which calls another constructor with BreakElement.java with the -1
value. I have changed the -1 to Constants.EN_AUTO and created a test case to
avoid this happening. I checked all other references but this constructor was
only called from that one location.

-- 
You are receiving this mail because:
You are the assignee for the bug.