OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] FOP or stylesheet bug?


Bob,

I checked the xml file with xmllint, valid. Checked the fo file with the
renderx fo.dtd in Morphon, similar error as FOP so I think it is a
stylsheet issue.

I filed a bug under #836335

Maarten

> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sco.com] 
> Sent: Tuesday, November 04, 2003 5:34 PM
> To: Sanders, M.
> Cc: DOCBOOK-APPS
> Subject: Re: [docbook-apps] FOP or stylesheet bug?
> 
> 
> 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
> 
> 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]