This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FOP complain on your fo:marker change


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]