- From: Giuseppe Briotti <g.briotti@gmail.com>
- Date: Sun, 15 Jan 2012 12:08:04 +0100
- To: www-xsl-fo@w3.org
I agree with Ken. Suggestion: When I first try a new XML-XSLT-FO-PDF transform, I always take a look at the generate FO. There are some unofficial XSD that are able to validate the generated FO against the specs. This is a good help while debugging. 2012/1/3 G. Ken Holman <gkholman@cranesoftwrights.com>: > 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 >> javax.xml.transform.TransformerException: >> 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 > > -- Giuseppe Briotti g.briotti@gmail.com "Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius." (Orazio)
Received on Sunday, 15 January 2012 11:08:53 UTC