Bug 52778 - page-sequence-master cannot refer to another
Summary: page-sequence-master cannot refer to another
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: page-master/layout (show other bugs)
Version: all
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-27 10:58 UTC by Luis Bernardo
Modified: 2012-04-30 00:11 UTC (History)
0 users



Attachments
example fo file that shows the issue (2.56 KB, text/x-xslfo)
2012-02-27 10:58 UTC, Luis Bernardo
Details
console output (4.67 KB, text/plain)
2012-04-25 08:26 UTC, Luis Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luis Bernardo 2012-02-27 10:58:08 UTC
Created attachment 28389 [details]
example fo file that shows the issue

This example (page 135) from the "XSL Formatting Objects" book by Doug Lovell does not work in FOP if the master-reference="ab" refers to another master reference.

<fo:page-sequence-master master-name="abab">
  <fo:repeatable-page-master-reference master-reference="ab" />
</fo:page-sequence-master>

Only works if it refers to a simple-page-master. The attached example exemplifies the issue (an exception is thrown).
Comment 1 Glenn Adams 2012-04-07 01:42:58 UTC
resetting P2 open bugs to P3 pending further review
Comment 2 Glenn Adams 2012-04-08 04:42:13 UTC
please provide console output as an output file as well as any output PDF files
Comment 3 Glenn Adams 2012-04-24 05:49:47 UTC
(In reply to comment #2)
> please provide console output as an output file as well as any output PDF files

luis?
Comment 4 Luis Bernardo 2012-04-25 08:26:08 UTC
Created attachment 28675 [details]
console output

an exception is thrown when processing the provided sample fo file; as such no PDF is generated.
Comment 5 Glenn Adams 2012-04-25 17:01:18 UTC
both XSL-FO 1.0 and 1.1 list the following constraint on master-reference on repeatable-page-sequence-master:

The fo:repeatable-page-master-reference has a reference to the fo:simple-page-master which has the same master-name as the master-reference trait on the fo:repeatable-page-master-reference.

as such, the example file is not valid since the master-reference property does not refer to a simple-page-master

i will check with Doug Lovell on the intent of his example, but in the mean time, i'm marking this as resolved+invalid
Comment 6 Glenn Adams 2012-04-30 00:11:22 UTC
batch transition resolved+invalid to closed+invalid