Hmm. I tried to reproduce that but didn't manage (0.94, 0.95beta and current Trunk). Since 0.95beta, FOP throws a validation exception if there are more cells in a row that have been specified (when columns are explicitely specified): http://markmail.org/message/gcc2767ckmahiqf6
On 16.04.2008 16:03:47 Louis.Masters wrote: > It was a needle. The error points to the root template which does contain > the issue, but my root template had some imports and several hundred lines > of code. > > I'm just bringing this up in case anyone else runs into something similar > they will have a good place to start. > > -Lou > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > LOG-NET, Inc. > The Logistics Network Management System > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 230 Half Mile Road > Third Floor > Red Bank, NJ 07701 > PH: 732-758-6800 > FAX: 732-747-7497 > http://www.LOG-NET.com > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > CONFIDENTIAL & PRIVILEGED > Unless otherwise indicated or if obvious from the nature of the content, > the information contained herein is privileged and confidential > information/work product. The communication is intended for the use of the > individual or entity named above. If the reader of this transmission is > not the intended recipient, you are hereby notified that any > dissemination, distribution or copying of this communication is strictly > prohibited. If you have received this communication in error, please > notify the sender immediately by telephone (732-758-6800) or by electronic > mail ([EMAIL PROTECTED]), and destroy any copies, electronic, paper > or otherwise, which you may have of this communication. Thank you. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > "The Web Maestro" <[EMAIL PROTECTED]> > 04/16/2008 09:23 AM > Please respond to > [email protected] > > > To > [email protected] > cc > > Subject > Re: endElement() called for fo:root -- solution > > > > > > > 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] > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
