org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "style") instead. Please make sure you're producing a valid XSL-FO document. at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:717) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2374) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2245) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1334) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:738) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1229) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via nabble.com by Unknown author, 1 year ago
First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "style") instead. Please make sure you're producing a valid XSL-FO document. at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java
via w3.org by Unknown author, 2 years ago
Error(Unknown location): fo:flow i s missing child elements. Required Content Model: marker* (%block;)+ at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
via markmail.org by Unknown author, 2 years ago
Error(Unknown location): fo:table-body is miss ing child elements. Required Content Model: marker* (table-row+|table-cell+) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "style") instead. Please make sure you're producing a valid XSL-FO document. at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:717) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2374) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2245) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1334) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:738) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1229) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.