Hmm, I cannot reproduce the error with your example file. I get an error, though: you specified a border on region-body which is not allowed by the spec. But if I remove the border, everything is fine. Shrug.
Are you using a peculiar XML parsing setup? Maybe the generated FO looks ok (if it is serialized to a file), but FOP does not receive the SAX events with the proper namespace information. Is the error message here really the only message in FOP's output? On 03.03.2008 20:14:34 Fournier,Danny [NCR] wrote: > Thanks Jay and Andreas. > > What if I keep getting errors even though I have the minimalistic of FO? > > fo:root is missing child elements. > Required Content Model: (layout-master-set, declarations?, > bookmark-tree?, page-sequence+) > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > > <fo:layout-master-set> > <fo:simple-page-master page-width="8.5in" > page-height="11in" master-name="myPages"> > <fo:region-body margin-right="0mm" > margin-left="0mm" margin-bottom="0mm" margin-top="0mm"/> > </fo:simple-page-master> > <fo:simple-page-master page-width="8.5in" > page-height="11in" master-name="inventoryPages"> > <fo:region-body border="0.5pt solid #000" > margin-right="8mm" margin-left="7mm" margin-bottom="41mm" > margin-top="24mm"/> > <fo:region-before display-align="after" > extent="24mm" region-name="header"/> > <fo:region-after display-align="before" > extent="41mm" region-name="footer"/> > </fo:simple-page-master> > </fo:layout-master-set> > > <fo:page-sequence master-reference="myPages"> > <fo:flow flow-name="xsl-region-body"> > <fo:block>Body</fo:block> > </fo:flow> > </fo:page-sequence> > > > > <fo:page-sequence master-reference="inventoryPages"> > > <fo:static-content flow-name="header"> > <fo:block>Header</fo:block> > </fo:static-content> > > <fo:static-content flow-name="footer"> > <fo:block>Footer</fo:block> > </fo:static-content> > > <fo:flow flow-name="xsl-region-body"> > <fo:block>Body</fo:block> > </fo:flow> > </fo:page-sequence> > > </fo:root> > > I've gone through this document for the past 30 minutes trying to > identify the problem. Maybe I should address my questions to an XSL-FO > markup list instead? > > Dan <snip/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
