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 Sc...@Alte-Leipziger.de on 2000/03/01 18:40:49 UTC
Problem using FOP in IBM USS with Java 1.1.6
> Hello,
> using FOP on IBM Unix System Services i get the following message with the
> every example *.fo contained in the release:
>
> FOP 0.12.1
> using SAX parser org.apache.xerces.parsers.SAXParser
> using renderer org.apache.fop.render.pdf.PDFRenderer
> using element mapping org.apache.fop.fo.StandardElementMapping
> using element mapping org.apache.fop.svg.SVGElementMapping
> building formatting object tree
> setting up fonts
> formatting FOs into areas
> [1]FATAL ERROR: out of sequence specifiers (FOP will eventually allow
> this)
>
> Commandline:
> java org.apache.fop.apps.CommandLine list.fo list.pdf
>
> Java Info:
> java full version "JDK 1.1.6 IBM build m116-19981201 R06 (JIT enabled:
> jitc)"
>
> Same jars and .fo run fine using NT.
> I have no idea.
> Best Regards
> Sönke Schau
Re: Problem using FOP....
Posted by Hani Elabed <ha...@elabed.net>.
Sonke,
I have seen this before, I followed it using the debugger.
Until I decided to go around it. I think you have multiple
pages, and you are specifying a single page.
at the top of you XSL or FO document specify this
<!-- defines the layout master -->
<!-- in other words the way the margins relate to the page -->
<!-- the way the pages are styled even pages one way, odd -->
<!-- pages another way, first page one way, other pages, etc.. -->
<fo:layout-master-set>
<fo:simple-page-master page-master-name="first" ..>
</fo:simple-page-master>
<fo:simple-page-master page-master-name="rest" ..>
</fo:simple-page-master>
</fo:layout-master-set>
and somewhere down in one of your templates
you shoudl have....
<!-- starts actual layout of the document -->
<!-- some static-content is first defined such as the header -->
<!-- and footer then a <fo:flow ..> element is defined to flow -->
<!-- the content of the body -->
<fo:page-sequence>
<!-- applies layout master to this page-sequence -->
<fo:sequence-specification>
<fo:sequence-specifier-repeating
page-master-first="first"
page-master-repeating="rest"/>
</fo:sequence-specification>
Notice that there is a "first" page layout and
the "rest" page layout.
Good luck
hani
SchauS@Alte-Leipziger.de wrote:
>
> > Hello,
> > using FOP on IBM Unix System Services i get the following message with the
> > every example *.fo contained in the release:
> >
> > FOP 0.12.1
> > using SAX parser org.apache.xerces.parsers.SAXParser
> > using renderer org.apache.fop.render.pdf.PDFRenderer
> > using element mapping org.apache.fop.fo.StandardElementMapping
> > using element mapping org.apache.fop.svg.SVGElementMapping
> > building formatting object tree
> > setting up fonts
> > formatting FOs into areas
> > [1]FATAL ERROR: out of sequence specifiers (FOP will eventually allow
> > this)
> >
> > Commandline:
> > java org.apache.fop.apps.CommandLine list.fo list.pdf
> >
> > Java Info:
> > java full version "JDK 1.1.6 IBM build m116-19981201 R06 (JIT enabled:
> > jitc)"
> >
> > Same jars and .fo run fine using NT.
> > I have no idea.
> > Best Regards
> > Sönke Schau