Generating pdf from xsl and xml file

I am trying to generate PDF from input xml and xsl file but i am getting
below error, even if i remove empty tags for fo:table-cell. i am getting
wrong output. I am using FOP1.0 version.

SEVERE: Exception
javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: "fo:table-cell" is missing child
elements. Required content model: marker* (%block;)+ (No context info
available)
        at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302)
        at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
        at org.apache.fop.cli.Main.startFOP(Main.java:174)
        at org.apache.fop.cli.Main.main(Main.java:205)
Caused by: javax.xml.transform.TransformerException:
org.apache.fop.fo.ValidationException: "fo:table-cell" is missing child
elements. Required content model: marker* (%block;)+ (No context info avail
able)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1410)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemTemplate.execute(ElemTemplate.java:392)
        at
org.apache.xalan.templates.ElemCallTemplate.execute(ElemCallTemplate.java:246)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemChoose.execute(ElemChoose.java:139)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
        at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
        at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
        ... 3 more
-- 
View this message in context: http://old.nabble.com/Generating-pdf-from-xsl-and-xml-file-tp33070454p33070454.html
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.

Received on Tuesday, 3 January 2012 10:58:26 UTC