W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2012

Re: Generating pdf from xsl and xml file

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Tue, 03 Jan 2012 11:00:31 -0500
Message-Id: <>
To: www-xsl-fo@w3.org
At 2012-01-03 01:03 -0800, prasmitapansare@gmail.com wrote:
>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
>org.apache.fop.fo.ValidationException: "fo:table-cell" is missing child
>elements. Required content model: marker* (%block;)+

The message is telling you that you have an empty table cell, and 
that the specification requires that table cells not be empty.

If you are removing the empty table cell, then perhaps you are 
leaving your row empty, and that is also not allowed in the specification.

Inspect your XSLT regarding why you are creating empty table cells 
and, at the least, throw in an empty block so that the table cell is not empty.

I hope this helps.

. . . . . . . . . . Ken

Contact us for world-wide XML consulting and instructor-led training
Free 5-hour video lecture: XSLT/XPath 1.0 & 2.0 http://ude.my/uoui9h
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/f/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal
Received on Tuesday, 3 January 2012 16:01:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:16 UTC