Raphael, I don't manage to reproduce the problem with your description. I've put a list-item as direct child of a block and FOP fails properly with a ValidationException. Would you please post an FO file that I can use to reproduce it? Thanks.
On 06.06.2006 10:26:55 Raphael Parree wrote: > Hi, > > Took me a while, but I received constantly an error "endElement() called for > fo:root where there is no current element.", which put me on the wrong > track. After debugging I figured out the following: > What actually orrcured was a ValidationException in FONode (lName=list-item) > "list-item is not a valid child element of fo:block" > This exception is than retrown in in FOTreeBuilder startElement, which > eventually evolves in endElement (FOTreeBuilder) throwing an > IllegalStateException because the currentFObj is null. > > I did not look into the code between startElement and endElement (did not > have the sources here of Xalan). > > The exception that is eventually displayed does not give the proper > information to solve the problem. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
