A. Perri wrote: > I embedded the latest DITAC (ditac-2_0_4) and the latest Appache-FOP > (fop-1.0) in our sofware. Now when rendering starts i get the following > error. > > fatal error reported by the XSLT engine: An attribute node > (break-after) cannot be created after the children of the containing > element. Most recent element start tag was output at line 270 of > module topic.xsl; SystemID: > file:/C:/helinks/workspaces/r2be/com.helinks.sts.ditac/xsl/fo/topic.xsl; > Line#: 147; Column#: -1 > cannot transform "C:\helinks test > > workspace\workspaces\r2be\build.com.helinks.sts\workspaces\myTest\Report\pdf\mytest.ditac" > to "C:\helinks test > > workspace\workspaces\r2be\build.com.helinks.sts\workspaces\myTest\Report\pdf\mytest.fo" > using > > file:/C:/helinks/workspaces/r2be/com.helinks.sts.ditac/xsl/fo/customize/custom_fo.xsl: > An attribute node (break-after) cannot be created after the children > of the containing element. Most recent element start tag was output > at line 270 of module topic.xsl > > Would you know if there is an incompatability between (ditac-2_0_4) and > (fop-1.0)? If so which of the latest versions of these softwares should > i be using.
There is no incompatibility between latest ditac and latest FOP. The problem you report is almost certainly a bug in the ditac XSLT stylesheets. This bug is almost certainly triggered by your DITA source files. (We have hundreds of test cases and we never got this error.) We would need these files in order to reproduce and fix this bug. Note that if you have customized the the ditac XSLT stylesheets (I see customize/custom_fo.xsl in the above error message), then may be it's your customization layer which triggers the bug. In this case, we need custom_fo.xsl too. Thanks in advance for sending us all these files. -- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

