Phil created FOP-2270:
-------------------------

             Summary: RTF - Only simple-page-masters are supported on 
page-sequences
                 Key: FOP-2270
                 URL: https://issues.apache.org/jira/browse/FOP-2270
             Project: Fop
          Issue Type: Bug
          Components: rtf
    Affects Versions: trunk
            Reporter: Phil
            Priority: Critical


When I ran the sample FO through the Latest nightly trunk snapshot, I received 
this error. 

"Only simple-page-masters are supported on page-sequences. Using default 
simple-page-master from page-sequence-master "warning-recto-verso-document". 
(See position 1402:42) 
Exception 
org.apache.fop.apps.FOPException 
java.lang.NullPointerException" 

<?xml version="1.0" encoding="UTF-8"?> 
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
        <fo:layout-master-set xmlns:xs="http://www.w3.org/2001/XMLSchema"; 
xmlns:fn="http://www.w3.org/2005/xpath-functions";>
                <fo:page-sequence-master master-name="page-sequence">
                        <fo:repeatable-page-master-alternatives>
                                <fo:conditional-page-master-reference 
odd-or-even="even" master-reference="seq-page-first" 
blank-or-not-blank="not-blank" page-position="first"/>
                                <fo:conditional-page-master-reference 
odd-or-even="odd" master-reference="seq-page-odd" 
blank-or-not-blank="not-blank"/>
                        </fo:repeatable-page-master-alternatives>
                </fo:page-sequence-master>
                <fo:simple-page-master master-name="seq-page-first" 
page-height="11in" page-width="8.5in" margin-top="0.5in" margin-left="1.0in" 
margin-right="0.5in">
                        <fo:region-body region-name="xsl-region-body" 
margin-top="0.80in" margin-bottom=".5in" overflow="auto"/>
                        <fo:region-before region-name="xsl-region-before" 
extent="0.5in"/>
                        <fo:region-after region-name="xsl-region-after" 
extent="0.5in"/>
                </fo:simple-page-master>
                <fo:simple-page-master master-name="seq-page-odd" 
page-height="11in" page-width="8.5in" margin-top="0.5in" margin-left="1.0in" 
margin-right="0.5in">
                        <fo:region-body region-name="xsl-region-body" 
margin-top="0.35in" margin-bottom=".5in" overflow="auto"/>
                        <fo:region-before region-name="xsl-region-before" 
extent="0.5in"/>
                        <fo:region-after region-name="xsl-region-after" 
extent="0.5in"/>
                </fo:simple-page-master>
                <fo:simple-page-master master-name="alternate-blank" 
page-height="11in" page-width="8.5in" margin-left="1.0in" margin-right="1.0in">
                        <fo:region-body/>
                        <fo:region-before region-name="header-blank" 
extent="11in"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence initial-page-number="1" 
force-page-count="end-on-even" format="1" master-reference="page-sequence" 
id="ps-0006">
                <fo:static-content flow-name="xsl-region-before">
                        <fo:block>data</fo:block>
                </fo:static-content>
                <fo:static-content flow-name="header-blank">
                        <fo:block line-height="12pt" font-family="Arial" 
font-size="10pt" font-weight="bold" text-align="center">
                                
                        </fo:block>
                </fo:static-content>
                <fo:static-content flow-name="xsl-region-after">
                        <fo:block>data</fo:block>
                </fo:static-content>
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>data</fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to