Amit D. wrote:

It seems that the documents we need to convert are
failing from the sample. Is this something your team can look at and let us
know if this will work for us?

Yes, our product fails miserably:

---
XFC error: java.lang.ArrayIndexOutOfBoundsException: 0
+---------------------------------------
| com.xmlmind.fo.converter.docx.Table.layout(Table.java:554)
...
---

But, Apache FOP fails too (probably for the same reason, but with a more sensible error message):

---
org.apache.fop.fo.ValidationException: file:/home/hussein/tmp/userguide.fo:1627:148: "fo:table-row" is missing child elements. Required content model: (table-cell+) (See position 1627:148)
---

Your userguide.fo seems to have many problems (not only the above fatal one). The simplest would be to first fix them all.





Here's the PDF file (we are using Antenna House).
[LINK DELETED]

Here's the FO file
[LINK DELETED]

It's quite difficult to use your userguide.fo.

All the image files are missing. Moreover the image locations are specified using file paths and not URIs, which is incorrect.

---
XFC warning: cannot resolve URI "D:\XXX\YYY\ZZZ.jpg" (file:/home/hussein/tmp/userguide.fo, line #632, column #13902)
---

It should be "file:/D:/XXX/YYY/ZZZ.jpg"

More info about image paths found this FAQ:
---
My .fo file contains a fo:external-graphic element which points to an existing JPEG file, but this image is not showing in the document generated by XFC. Are there known bugs related to image support in XFC?
---
http://www.xmlmind.com/foconverter/faq.html#image_not_showing





We can change the FO if needed for XMLmind but in an ideal world we would use
the same FO output that we use with AH with XMLMind.


Sorry but this is unlikely to happen (for real-world documents).

Useful tips found in this FAQ:
---
I cannot get the results that I want. Can you help me tweak my XSLT stylesheet?
---
http://www.xmlmind.com/foconverter/faq.html#xsl_consulting



--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to