[xep-support] Re: XEP Exception with correct FO-document

Kevin Brown kevin at renderx.com
Fri Jan 6 09:13:44 PST 2012


Bastian:

It's an error from the XT parser used for validation of FO that manifests on
Java 64-bit Windows. This has been posted before to the list many times,
search through the archives and you will find several posts that recommend
workarounds until some form of Java/XT patch (or XEP fix to remove XT
parsing) can be used to resolve this error.

Kevin Brown
RenderX

-----Original Message-----
From: xep-support-bounces at renderx.com
[mailto:xep-support-bounces at renderx.com] On Behalf Of Bastian Kroll
Sent: Friday, January 06, 2012 12:55 AM
To: RenderX Community Support List
Subject: [xep-support] XEP Exception with correct FO-document

Hello everybody,
I have a strange problem while generating some hundreds PDF´s. During
generation I get sometime (at different PDF`s, at different times and also
at different attributes!), the following message:
(rendering-started-at [Fri Jan 06 09:22:56 CET 2012])
(document 
  (validate 
    [error] Attribute 'margin-bottom' cannot have a value of "".
    [validation total: 1 error]

Try to generate the same FO-document again throws no error. The FO is
correct, but XEP is sometimes "thinking", that the is a empty value. Why???

Did somebody see this before?

Regards
Bastian


PS: This is my FO-document, nothing difficult.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:file="java.io.File">
<fo:layout-master-set>
<fo:simple-page-master margin-bottom="0.0mm" margin-left="0.0mm"
margin-right="0.0mm" margin-top="0.0mm" master-name="one_column"
page-height="200mm" page-width="100mm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="one_column">
<fo:flow flow-name="xsl-region-body">
<fo:block-container text-indent="0pt" font-family="TheSansCd-LF2ExtraLight"
font-stretch="100%" position="relative" line-height="6.5" font-size="6.5pt"
hyphenate="true" language="de" width="31mm" height="200mm">
<fo:block word-spacing.maximum="5pt" word-spacing.minimum="2pt"
word-spacing.optimum="0pt" alignment-baseline="before-edge"
alignment-adjust="before-edge" margin-top="1.5pt" margin-bottom="1pt"
font-size="6.5pt" line-height="6.5pt" text-align="justify">Some text
here</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>



!DSPAM:87,4f06a4b863739472275688!


_______________________________________________
(*) To unsubscribe, please visit
http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service
http://w
ww.renderx.com/terms-of-service.html



More information about the Xep-support mailing list