This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: FOP complain on your fo:marker change
- From: Bob Stayton <bobs at caldera dot com>
- To: Jens Stavnstrup <js at ddre dot dk>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 07 Aug 2002 10:49:19 -0700
- Subject: DOCBOOK-APPS: Re: FOP complain on your fo:marker change
- References: <20020807021835.A21896@caldera.com><Pine.LNX.4.44.0208071240510.3217-100000@ares.ddre.dk>
On Wed, Aug 07, 2002 at 12:44:11PM +0200, Jens Stavnstrup wrote:
> Bob,
>
> Really unexpected result. I like to debug a properly formatted fo file. So
> when testing, I usually set
>
> <xsl:output method="xml" indent="yes"/>
>
> When removing this statement, the FOP fo:marker error-message dissapears.
Well, the spec does say the <fo:marker> must be the
first child of the block. Since a block can accept text
in its content, the carriage return is treated as
a child text node, making the <fo:marker> the second child.
I guess this is one of the reasons the default indent="no"
is used in the stylesheets.
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com