If it's not compliant, then it is not an FO file, and expected output would have to be undefined as a result. I'm unsure why you would want to code your stylesheets in an invalid way. If you have no data, better to code your XSLT not to generate a fo:table to begin with.

Glen

Navanee wrote:

Hello,

Is it possible to convert FO file to PDF without validating FO? I am getting the following Exception.

org.apache.fop.fo.ValidationException: file:///E:/test.fo:66:1145: Error(66/1145): fo:table-body is missing child elements.

Required Content Model: marker* (table-row+|table-cell+)

at org.apache.fop.fo.FONode.missingChildElementError(FONode.java:403)

at org.apache.fop.fo.flow.TableBody.endOfNode(TableBody.java:103)

at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:357)

at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193)

Your suggestions are most welcome!

Thanks,

Best Regards

Navanee.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to