This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] FOP or stylesheet bug?
- From: Bob Stayton <bobs at sco dot com>
- To: "Sanders, M." <MSA at ballastham dot com>
- Cc: DOCBOOK-APPS <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 4 Nov 2003 08:34:21 -0800
- Subject: Re: [docbook-apps] FOP or stylesheet bug?
- References: <2C638A837F8C18499710D0E61D2604D9EFD7C1@ZIRCONIUM.ballastham.com>
On Tue, Nov 04, 2003 at 04:21:27PM +0100, Sanders, M. wrote:
> Hello All,
>
> I have a nice document setup using xincludes and profiling. For some
> reason I cannot produce pdf with fop bu I can produce html directly:
>
> xmllint --xinclude test.xml > resolved.xml
>
> xsltproc --output test.fo --stringparam profile.os "linux"
> /usr/share/sgml/docbook/docbook-xsl-1.62.4/fo/profile-docbook.xsl
> resolved.xml
> Making portrait pages on A4 paper (210mmx297mm)
> --produces test.fo--
>
> xsltproc --output test.html --stringparam profile.os "linux"
> /usr/share/sgml/docbook/docbook-xsl-1.62.4/html/profile-docbook.xsl
> resolved.xml
> --produces a fine test.html--
>
> fop -fo test.fo -pdf test.pdf
> [ERROR] file:/home/maarten/test.fo:2:38276 page-sequence must be child
> of root, not fo:flow
>
> I have seen this error in the postings of 2001, then it was a stylesheet
> bug. Anyone a hint?
The error message indicates a messed up FO file.
Can you use xmllint to confirm that the input file
is valid docbook? If so, it probably is a stylesheet bug.
Could you file a bug report on SourceForge, and attach an
input file and your FO output file?
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.