Menu

#6 Error building the final PDF

Current Release
open
nobody
5
2009-10-25
2009-10-25
No

It appears that there's an extra half-generated table cell:
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: file:/c:/resume/examples/example2-filtered.fo:247:39: Error(247/39): fo:table-cell is missing child elements.
Required Content Model: marker* (%block;)+
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
at org.apache.fop.cli.Main.startFOP(Main.java:166)
at org.apache.fop.cli.Main.main(Main.java:197)
Caused by: javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: file:/c:/resume/examples/example2-filtered.fo:247:39: Error(247/39): fo:table-cell is missing child elements.
Required Content Model: marker* (%block;)+
at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:502)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
... 3 more

Basically there's one line that starts up another <fo:table-cell ...> If I delete that line, everything generates nicely again. Annoying to hand fix every time, but I don't know where in the fo generation process it happens.

Discussion


Log in to post a comment.