- From: Jeremias Maerki <dev@jeremias-maerki.ch>
- Date: Wed, 25 Apr 2007 20:30:50 +0200
- To: www-xsl-fo@w3.org
Well, what do you expect with no content at all? The error message is: fo:flow is missing child elements. Required Content Model: marker* (%block;)+ The DocBook stylesheet wasn't able to create at least one block-level FO and the XSL spec says you have to provide at least one. Just give the book some content and it should work. On 25.04.2007 10:33:46 Anders Moe wrote: > Hi all > > I’m using fop-0.93 to convert docbook5 to pdf. Thefop examples > run fine, and and know my docbook is OK, but fop gives me errors. > > The docbook test file is simply > > <?xml version="1.0"encoding="utf-8"?> > <bookxmlns="http://docbook.org/ns/docbook"xmlns:xi="http://www.w3.org/2001/XInclude"version="5.0"> > > </book> > > fop transforms to .fo without problems, but forsome reason that .fo is > not accepted in the next step. The output and myprocessing statement is > given below. Any help is much appreciated. Also,converting to rtf gives > the same results. > > Anders. > > > C:\Documents and Settings\Anders\MyDocuments\fop-0.93>fop -xml fido.xml -xslc:\docbook5-xsl-1.72.0\fo\docbook.xsl > -pdf fido.pdf > "java" > 25.apr.2007 09:56:58 org.apache.fop.cli.InputHandlerwarning > WARNING: javax.xml.transform.TransformerException:Making portrait pages on USletter paper (8.5inx11in) > 25.apr.2007 09:57:01org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement > WARNING: Mismatch: flow(http://www.w3.org/1999/XSL/Format) vs. page-sequence(http://www.w3.org/1999/XSL/Format) > 25.apr.2007 09:57:01org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement > WARNING: Mismatch: flow(http://www.w3.org/1999/XSL/Format) vs. root(http://www.w3.org/1999/XSL/Format) > 25.apr.2007 09:57:01 org.apache.fop.cli.Main startFOP > SEVERE: Exception > javax.xml.transform.TransformerException:org.apache.fop.fo.ValidationException: Error(Unknown location): fo:flow i > s missing child elements. > Required Content Model: marker* (%block;)+ <snip/> Jeremias Maerki
Received on Wednesday, 25 April 2007 18:30:20 UTC