[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 1.69.1: page-sequence child of flow?
I've been trying to port our toolchain to 1.69.1 stylesheets and DocBook 4.3, and I'm getting a strange bug that stops me cold. Just to be sure I have the right stylesheet install, I reloaded them from this URL: http://sourceforge.net/project/showfiles.php?group_id=21935 Attached is a tiny DocBook file with one section containing one paragraph. My customization layer (also attached) has only one change, turning off draft mode (so I don't get a bunch of unresolved references to draft.png); it uses the 1.69.1 fo/docbook.xsl. The .fo file that comes out of xsltproc has entirely the wrong structure. It looks okay through the fo:flow for xsl-region-body, and contains the table of contents. However, just after the fo:block that wraps the main title and table of contents, there is a second fo:page-sequence containing a second set of fo:static-content elements followed by another fo:flow. xep complained, and rightly so, that fo:flow cannot have an fo:page-sequence child. I downloaded RenderX's .rnc schema files for XSL-FO and ran rnv, and it had the same complaint: fo:page-sequence cannot be a child of fo:flow. I have no idea what to do at this point. Do you have any suggestions? Attachments: trivial.xml: A tiny, complete DocBook 4.3 document. stock_fo.xsl: Customization layer to turn off draft mode. trivial.fo: The .fo file built from trivial.xml. Best regards, John Shipman (john@nmt.edu), Applications Specialist, NM Tech Computer Center, Speare 119, Socorro, NM 87801, (505) 835-5950, http://www.nmt.edu/~john ``Let's go outside and commiserate with nature.'' --Dave Farber P.S. The bug I posted a few days ago, concerning indented table entry elements when the table is inside an itemizedlist, was with the 1.65.1 stylesheets. My testing process was pointing at the old stylesheets instead of the 1.69.1 set.
<article> <articleinfo> <title>The Title</title> <authorgroup> <author> <firstname>First</firstname> <surname>Last</surname> </author> </authorgroup> <address><email>tcc-doc@nmt.edu</email> </address> <revhistory> <revision> <revnumber>$Revision$</revnumber> <date>$Date$</date> </revision> </revhistory> </articleinfo> <section> <title>First section title</title> <para>Short paragraph.</para> </section> </article>
<!--Null customization layer for stock template testing !--> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date" exclude-result-prefixes="date"> <xsl:import href="http://www.nmt.edu/tcc/doc/docbook43/mss/fo/docbook.xsl"/> <!--This line is necessary to turn off draft mode. Without it, ! you get a lot of unresolved references to a 'draft.png'. !--> <xsl:param name="draft.mode">no</xsl:param> </xsl:stylesheet>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]