On 11/24/2010 04:44 PM, Andy Black wrote: > On 11/24/2010 3:13 AM, Hussein Shafie wrote: >> Andy Black wrote: >>> With XSL utility version 4.4.0 or 4.4.1, using an XSL-FO file as input, >>> if one has a paragraph with two footnotes in it, no footnotes appear in >>> the converted Word 2003 or the Word 2007 output. If one used RTF >>> output, it works fine. >>> >>> A sample FO document is attached. >> I have no such footnote problems with a DITA or DocBook document (which >> both have very advanced XSL stylesheets and pretty advanced XSL-FO >> expectations). >> >> This means that the issue you report hides another, less simple, problem. >> >> My *guess* is that the problem comes from the way you describe pages >> (fo:layout-master-set), which is too complex for XMLmind XSL-FO Converter. > > I'm sorry, but I'm not understanding why this is an issue since it is > only a problem for Word 2003 and Word 2007 output. The exact same fo > file produces the expected output when the XMLmind XSL-FO Converter is > used to produce either RTF or Open Office Writer output.
MS-Word and Open Office Writer are very complex pieces of code. You simply cannot assume that if it's OK with RTF, it should be OK with the other output formats (and of course the other way round). > > If the FO page layout is too complex for the tool, why does it work for > two of the possible output formats, but not two others? > I don't understand what happens. I'm almost sure that there is no obvious bug related to having multiple footnotes in the same paragraph because I have no such problems when converting DocBook and DITA documents. When I tried to open the .wml or the .docx generated out of your XSL-FO, MS-Word 2007 refused to switch to the Print layout. This was the first time I ever saw such behavior. Hence my *hunch* about your XSL-FO page layout being too complex for XFC (in the case of Word 2003 and Word 2007 output). So what to do now? * If you send us another XSL-FO sample proving that the bug is not related to the XSL-FO page layout being too complex, we'll gladly try to fix this bug. * If the problem is caused by an XSL-FO page layout being too complex (in the case of Word 2003 and Word 2007 output). sorry but we'll not attempt to fix this bug by removing some of the limitations of XFC. At least, not in the near future. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

