javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}block" is not a valid child of "fo:root"! (See position 29:6604)

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 crifan.com by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}block" is not a valid child of "fo:root"! (See position 29:6604)
via GitHub by rwinch
, 2 years ago
org.apache.fop.fo.ValidationException: "fo:block" is not a valid child of "fo:root"! (No context info available)
via developpez.net by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "htt p://www.w3.org/1999/xhtml", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO document.
via developpez.net by Unknown author, 1 year ago
org.apache.fop.fo.ValidationException: First element must be the fo:root formatting object. Found (Namespace URI: "htt p://www.w3.org/1999/xhtml", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO document.
via developpez.net by Unknown author, 2 years ago
org.xml.sax.SAXException: Mismatch: pa ge-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999 /XSL/Format)
via developpez.net by Unknown author, 2 years ago
org.xml.sax.SAXException: Mismatch: pa ge-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999 /XSL/Format)
javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}block" is not a valid child of "fo:root"! (See position 29:6604)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:205)

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.