On 04/26/2011 02:28 PM, Martin Goik wrote: > Due to a JRE related Bug Is it this bug?
Excerpts from http://www.xmlmind.com/xmleditor/known_problems.html --- Starting from Java[tm] 1.6.0_23, converting XML documents to PDF using RenderX XEP randomly fails with false XSL-FO errors (e.g. attribute "space-before" may not be empty). This problem seems specific to the 64-bit runtime. Workaround: use a 32-bit Java[tm] runtime or use a 64-bit JavaTM runtime older than 1.6.0_23. --- If this is the case, I'm not sure that forcing XEP to skip its XSL-FO validation step is a workaround. If you are sure that this is a workaround, for example because it is recommended by RenderX, then please be kind enough to point us to the document which contains this information. > I have to supply the addional Parameter > "-valid" tor RenderX's XEP processor. Where do I specify the beast? > > I've looked in addon/config/docbook5/xslMenu.incl an found > <parameterGroup name="db5.toPS.XEPParameters" /> without having a clue. Excerpts from XXE_install_dir/addon/config/docbook5/xslMenu.incl: --- <command name="db5.toPS"> <process> <mkdir dir="resources" /> <mkdir dir="raw" /> ... <processFO processor="XEP" file="__doc.fo" to="__doc.%0"> <parameter name="OUTPUT_FORMAT">%0</parameter> <parameter name="PS.LANGUAGE_LEVEL">2</parameter> <parameterGroup name="db5.toPS.XEPParameters" /> <!-- If XEP plug-in has not been installed, try FOP plug-in. --> <processFO processor="FOP" file="__doc.fo" to="__doc.%0"> <parameter name="renderer">%0</parameter> <parameter name="strict-validation">false</parameter> <parameterGroup name="db5.toPS.FOPParameters" /> </processFO> </processFO> </process> </command> --- Therefore specifying something like this in your customization of the DocBook 5 configuration (or in a customize.xxe file) *should* work (not tested): --- <parameterGroup name="db5.toPS.FOPParameters"> <parameter name="VALIDATE">false</parameter> </parameterGroup> --- References: http://www.xmlmind.com/xmleditor/addons_doc.html#xep_foprocessor http://www.renderx.com/reference.html#Core_Options > > The configuration is aimed to be used by calling "convertdoc". "convertdoc" is XXE without a GUI. Everything which works for XXE should work for "convertdoc". Reference: The convertdoc command-line tool -- http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

