DO NOT REPLY [Bug 50391] New: [PATCH] Add support for different flow-name of fo:region-body in FOP

2010-12-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50391

   Summary: [PATCH] Add support for different flow-name of
fo:region-body in FOP
   Product: Fop
   Version: 1.1dev
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: page-master/layout
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: peter.hanc...@gmail.com


This patch is not an implementation of flow-maps.  The intention is for
simple-page-masters that reference flows that are not defined in the
page-sequence should generate empty flows- that is pages with the content layed
out in the region-body.
This implementation is not inconsistent with section 6.4.1.5 of the XSL
recommendation (1.0  1.1)

example.fo (attached) will cause the trunk to throw due to unmapped flows,
however this patch will produce an even and odd alternatives of empty and 'main
flow' pages.

This patch also introduces 3 dependencies as part of the unit test coverage:
mockito-core-1.8.5.jar
hamcrest.core-1.1.0.jar
objenesis-1.0.0.jar
They are to be placed in lib/build.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50391] [PATCH] Add support for different flow-name of fo:region-body in FOP

2010-12-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50391

--- Comment #1 from Peter Hancock peter.hanc...@gmail.com 2010-12-01 06:35:35 
EST ---
Created an attachment (id=26360)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26360)
Patch for enhancement

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50391] [PATCH] Add support for different flow-name of fo:region-body in FOP

2010-12-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50391

--- Comment #2 from Peter Hancock peter.hanc...@gmail.com 2010-12-01 06:36:52 
EST ---
Created an attachment (id=26361)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=26361)
example .fo demonstrating patch

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 50391] [PATCH] Add support for different flow-name of fo:region-body in FOP

2010-12-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=50391

--- Comment #3 from Peter Hancock peter.hanc...@gmail.com 2010-12-01 06:47:34 
EST ---
All dependencies can be obtained from http://mockito.org/.
 mockito-1.8.5.zip has a directory called seperate-jars containing
mockito-core-1.8.5.jar
hamcrest.core-1.1.0.jar
objenesis-1.0.0.jar

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.