[oXygen-user] Another TEI/XSL -> FO problem. Oxygen or TEI?
Espen S. Ore
Tue Nov 24 09:09:33 CST 2009
I am not sure if this should go directly to Sebastian, but just in case ...
I start out with validated TEI-P5 and run the first translation, the
XSL-translation into a FO-file without problems. Here however problems
appear with the next step, generating PDF with a FO-processor:
"SEVERE: Exception
net.sf.saxon.trans.XPathException:
org.apache.fop.fo.ValidationException:
file:/home/lokalespen/BF/Forlag/BBv20esoarb.fo_fo:183:-1: Error(183/-1):
For fo:block, fo:marker must be declared before initial-property-set?
(#PCDATA|%inline;|%block;).
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)"
This is concerning this part of the FO-file:
"<fo:block keep-with-next.within-page="always" id="d23e62" text-align="left"
font-family="Times" font-size="18pt" font-weight="bold"
space-after="6pt"
space-before.optimum="12pt" text-indent="0em">
<inline xmlns="http://www.w3.org/1999/XSL/Format"
font-style="italic"
>Forord</inline>
<fo:marker marker-class-name="section1"/> <--- Line 183
<fo:marker marker-class-name="section2"/>
<fo:marker marker-class-name="section3"/>
<fo:marker marker-class-name="section4"/>
<fo:marker marker-class-name="section5"/>
<fo:marker marker-class-name="section0">Forord</fo:marker>
</fo:block>"
This happens when I have set the parameter 'divRunninheads" to 'true',
and there are no problems if 'divRunningheads' is set to 'false'.
All the best,
Espen Ore
More information about the oXygen-user
mailing list