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)

nabble.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    FOP - Users - XML to PDF on AIX

    nabble.com | 6 months ago
    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)

    Root Cause Analysis

    1. 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()
    2. Unknown
      $Proxy0.invalidFORoot
      1. $Proxy0.invalidFORoot(Unknown Source)
      1 frame