Re: [oXygen-user] TEI P5 biblStruct/xsl/fo-problem? Was: Saxon PE-licence file not found?

Hello Espen, Thank you for the file. It is a bug in the TEI P5 stylesheet for XSL-FO output. The FO file is not valid because it contains many elements that are not in the FO namespace. The error message specified only the list-item element that cannot be a child of fo:flow but there are more errors. Starting with line 7343 the FO file contains many elements that are not in the FO namespace: block, list-item, list-item-label, inline, etc. I think the error should be reported to the developers of the TEI stylesheets so I send this message and your TEI XML file to Sebastian Rahtz from the TEI Consortium to look into it. You can generate only the FO file in Oxygen by editing the transformation scenario for PDF output. For example you duplicate the TEI P5 PDF scenario using the Duplicate button of the Configure Transformation Scenario dialog, you disable FO processing and you set a .fo file name in the Save As field. Regards, Sorin Espen S. Ore wrote:
I have now run an external fop-engine and stored the fo-file (is there an option for that in Oxygen?). I believe I found the problem part in a biblStruct. This is from my TEI-file:
<div><head>Andre oversettelser fra pali-tekstene
</head><p>Vinayapitaka
</p><biblStruct><analytic><editor>I.B. Horner</editor></analytic><monogr><title> The Book of the Discipline</title><imprint><biblScope>6 volumes, Vol. I (1938, 1992), Vol. II (1940, 1993), Vol. III (1942, 1993), Vol. IV (1951, 1993), Vol. V (1952, 1993), Vol. VI (1966, 1993)Set ISBN 254 4</biblScope></imprint></monogr> </biblStruct><p>Suttapitaka
</p>
This is from the fo-file where the biblStruct has been changed into a list-item:
<block xmlns="http://www.w3.org/1999/XSL/Format">Vinayapitaka </block> <list-item xmlns="http://www.w3.org/1999/XSL/Format" space-before.optimum="4pt"> <list-item-label end-indent="label-end()"> <block text-align="start" font-weight="bold">I.B. Horner (ed.)</block> </list-item-label> <list-item-body start-indent="body-start()"> <block font-weight="normal">I.B. Horner (ed.) </block> <block font-weight="normal"><inline font-style="italic"> The Book of the Discipline</inline>, 6 volumes, Vol. I (1938, 1992), Vol. II (1940, 1993), Vol. III (1942, 1993), Vol. IV (1951, 1993), Vol. V (1952, 1993), Vol. VI (1966, 1993)Set ISBN 254 4. </block> </list-item-body> </list-item> <block xmlns="http://www.w3.org/1999/XSL/Format" text-indent="1em" space-before.optimum="0pt" space-before.maximum="12pt">Suttapitaka </block>
-----------------------------------
Espen

Thank you very much! Espen Sorin Ristache skrev:
Hello Espen,
Thank you for the file. It is a bug in the TEI P5 stylesheet for XSL-FO output. The FO file is not valid because it contains many elements that are not in the FO namespace. The error message specified only the list-item element that cannot be a child of fo:flow but there are more errors. Starting with line 7343 the FO file contains many elements that are not in the FO namespace: block, list-item, list-item-label, inline, etc. I think the error should be reported to the developers of the TEI stylesheets so I send this message and your TEI XML file to Sebastian Rahtz from the TEI Consortium to look into it.
You can generate only the FO file in Oxygen by editing the transformation scenario for PDF output. For example you duplicate the TEI P5 PDF scenario using the Duplicate button of the Configure Transformation Scenario dialog, you disable FO processing and you set a .fo file name in the Save As field.
Regards, Sorin
participants (2)
-
Espen S. Ore
-
Sorin Ristache