javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO document.

kldp.org | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    xml xsl fop pdf 변환... | KLDP

    kldp.org | 7 months ago
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO document.
  2. 0

    FOP - Users - Default XSL Stylesheet for PDF?

    nabble.com | 1 year ago
    org.apache.fop.fo.ValidationException: 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.
  3. 0

    FOP - Users - FOP Problem

    nabble.com | 2 years ago
    org.apache.fop.fo.ValidationException: Error(Unknown location): For fo:simple-page-master, only one fo:region-body may be declared.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FOP-0.95-BETA - org.apache.fop.fo.ValidationException

    Apache Bugzilla | 9 years ago | philip.vallone
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Error(22/56): column-number or number of cells in the row overflows the number of fo:table-column specified for the table.
  6. 0

    Error transform from xml xsl-fo to pdf - Oxygen XML Forum

    oxygenxml.com | 7 months ago
    org.apache.fop.fo.ValidationException: Error: First element must be the fo:root formatting object. Found (Namespace URI: "http://www.w3.org/1999/XSL/Transform", Local Name: "stylesheet") instead. Please make sure you're producing a valid XSL-FO document.

    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

      Error: First element must be the fo:root formatting object. Found (Namespace URI: "", Local Name: "html") instead. Please make sure you're producing a valid XSL-FO document.

      at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement()
    2. Apache FOP
      FOTreeBuilder.startElement
      1. org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:262)
      2. org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163)
      2 frames
    3. GWT dev
      ToXMLSAXHandler.startPrefixMapping
      1. org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204)
      2. org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:277)
      3. org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler.java:348)
      4. org.apache.xml.serializer.ToXMLSAXHandler.startPrefixMapping(ToXMLSAXHandler.java:318)
      4 frames
    4. Xalan Java
      TransformerImpl.transform
      1. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1315)
      2. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      3. org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1374)
      4. org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2411)
      5. org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2281)
      6. org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1367)
      7. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:709)
      8. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1284)
      9. org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1262)
      9 frames
    5. Apache FOP
      Main.main
      1. org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
      2. org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
      3. org.apache.fop.cli.Main.startFOP(Main.java:166)
      4. org.apache.fop.cli.Main.main(Main.java:197)
      4 frames