javax.xml.transform.TransformerException: 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.

nabble.com | 3 months ago
  1. 0

    FOP - Users - XML to PDF on AIX

    nabble.com | 3 months ago
    javax.xml.transform.TransformerException: 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.
  2. 0

    What is wrong with my xsl-fo code

    Stack Overflow | 4 years ago | user525146
    org.apache.fop.fo.ValidationException: Document is empty (something m ight be wrong with your XSLT stylesheet).
  3. 0

    Convert XML to PDF with Oxygen

    Stack Overflow | 5 years ago
    net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}inline" is not a valid child of "fo:flow"! (See position 4:-1)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    having a xsi:schemaLocation on fo:root throws a ValidationException

    Apache Bugzilla | 5 years ago | xdury
    org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:root": xsi:schemaLocation (See position 4:143)
  6. 0

    【已解决】docbook中pdf中没有出现/显示revhistory所对应的历史版本 | 在路上

    crifan.com | 7 months ago
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Property ID "id36018215" (found on "fo:list-block") previously used; ID values must be unique within a document! (See position 9:296)

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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()
    2. Apache FOP
      DefaultEventBroadcaster$1.invoke
      1. org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38)
      2. org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54)
      3. org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175)
      3 frames
    3. Unknown
      $Proxy0.invalidFORoot
      1. $Proxy0.invalidFORoot(Unknown Source)
      1 frame
    4. Apache FOP
      FOTreeBuilder.startElement
      1. org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:261)
      2. org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171)
      2 frames
    5. GWT dev
      ToHTMLSAXHandler.endElement
      1. org.apache.xml.serializer.ToHTMLSAXHandler.closeStartTag(ToHTMLSAXHandler.java:435)
      2. org.apache.xml.serializer.ToHTMLSAXHandler.flushPending(ToHTMLSAXHandler.java:616)
      3. org.apache.xml.serializer.ToHTMLSAXHandler.endElement(ToHTMLSAXHandler.java:240)
      3 frames
    6. Xalan Java
      TransformerImpl.transform
      1. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:706)
      2. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2374)
      3. org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2245)
      4. org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1334)
      5. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:738)
      6. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1251)
      7. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1229)
      7 frames
    7. Apache FOP
      Main.main
      1. org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299)
      2. org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
      3. org.apache.fop.cli.Main.startFOP(Main.java:174)
      4. org.apache.fop.cli.Main.main(Main.java:205)
      4 frames