> -----Original Message----- > From: Navanee [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 11, 2006 11:36 AM > To: [email protected] > Subject: FO2PDF without validation > > 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(FOTre > eBuilder.java:357) > at > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:193)
Hi Navanee, You should turn strict-validation to false: - either in config file [1], - or using '-r' option in command line [2], - or using fopFactory.setStrictValidation() method [3]. [1] http://xmlgraphics.apache.org/fop/0.92/configuration.html#general-elemen ts [2] http://xmlgraphics.apache.org/fop/0.92/running.html#standalone-start [3] http://xmlgraphics.apache.org/fop/0.92/embedding.html#fop-factory HTH, Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
