Does the error tell you where the problem lies, or do you have to find the needle?
Clay On 4/15/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Just an FYI on how to fix a very serious looking error that was driving me > crazy -- here is the partial trace: > > ERROR [org.apache.fop.fo.FOTreeBuilder] > javax.xml.transform.TransformerException: java.lang.IllegalStateException: > endElement() called for fo:root where there is no current element > ERROR [STDERR] file:///Report.xsl; Line #17; Column #40; > java.lang.IllegalStateException: endElement() called for fo:root where > there is no current element > > It took me a bit, but I finally figured it out (at least in my case). I > had a table that had extra cells in a row. For example: > > column count=5 > <column colWidth="25mm" datatype="C"/> > <column colWidth="10mm" datatype="I"/> > <column colWidth="10mm" datatype="C"/> > <column colWidth="10mm" datatype="I"/> > <column colWidth="20mm" datatype="I"/> > > <reportrow> > <cell>A</cell> > <cell>B</cell> > <cell>C</cell> > <cell>D</cell> > <cell>E</cell> > </reportrow> > > <reportrow> > <cell>A</cell> > <cell>B</cell> > <cell>C</cell> > <cell>D</cell> > <cell>E</cell> > <cell>F</cell> <!--BAD--> > </reportrow> > > HTH > -Lou -- Regards, The Web Maestro -- <[EMAIL PROTECTED]> - <http://ourlil.com/> My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
