Overlap between region-body and footnote

Dear all,
I cannot figure how to control the space allocated to footnote (on the pages where there are some).
My footnotes appears nicely (using the piece of code below) in most cases, but as soon as there are too many footnotes on the same page (or a very long one), main text and footnotes overlap. 

<xsl:template match="mxdoc:entityFootnote">
              <fo:footnote>
	<fo:inline font-size="6pt" vertical-align="super">
	               <xsl:number count="mxdoc:entityFootnote" level="any" />
	</fo:inline>
	<fo:footnote-body>
                                     <fo:block font-size="7pt" color="#003399" start-indent="0mm" end-indent="0mm">
		<xsl:number count="mxdoc:entityFootnote" level="any" /> : 
                                           <xsl:apply-templates/>
                                     </fo:block>
	</fo:footnote-body>
              </fo:footnote>
</xsl:template>

I read W3C specs, and tried to add a <fo:footnote-separator extent="5cm" /> in the  <fo:layout-master-set>, and a 
<fo:static-content flow-name="xsl-footnote-separator"> </fo:static-content> in the <fo:page-sequence master-name="simple">, with no effect (err:WARNING: Unknown formatting object http://www.w3.org/1999/XSL/Format^footnote-separator err:WARNING: region-name 'xsl-footnote-separator' doesn't exist in the layout-master-set. ??).

I'm running short of ideas and resources (looked in the Apache examples, in the SUN and IBM tutorials ...) ...
Any help very welcome !
Thanks

Received on Monday, 23 September 2002 07:31:28 UTC