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(Transform erImpl.java:2374) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer Impl.java:2245) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava: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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web104

  • via nabble.com by Unknown author, 10 months 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 mail-archive.com by Unknown author, 10 months ago
    Error: First element must be the fo:root formatting object. Found (Namespace URI: " ;, Local Name: "stylesheet") instead. Please make sure you're producing a valid XSL-FO document. at org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transform erIdentityImpl.java:501)
  • via nabble.com by Unknown author, 1 year ago
    Error: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "book") instead. Please make sure you're producing a valid XSL-FO document.
  • Stack trace

    • 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(Transform erImpl.java:2374) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer Impl.java:2245) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava: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) 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) Caused by: 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.fop.events.ValidationExceptionFactory.createException(ValidationE xceptionFactory.java:38) at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionMan ager.java:54) at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcast er.java:175) at $Proxy0.invalidFORoot(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.