net.sf.saxon.trans.XPathException: 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.

oxygenxml.com | 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

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

    oxygenxml.com | 7 months ago
    net.sf.saxon.trans.XPathException: 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.
  2. 0

    PDF output breaks bookmap + booklists + glossarylist

    GitHub | 5 years ago | jelovirt
    net.sf.saxon.trans.XPathException: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}page-sequence" is not a valid child of "fo:flow"! (See position 17:-1)
  3. 0

    [oXygen-user] how to make processing instructions work with an Oxygen Docbook transform?

    oxygenxml.com | 9 months ago
    net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException; systemId: file:/C:/Users/kingrobert/Documents/Dropbox/job/source/index.xml_xslt; lineNumber: 1; columnNumber: 39; Content is not allowed in prolog.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. net.sf.saxon.trans.XPathException

      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.

      at org.apache.fop.cli.InputHandler.transformTo()
    2. Apache FOP
      Main.main
      1. org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
      2. org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
      3. org.apache.fop.cli.Main.startFOP(Main.java:166)
      4. org.apache.fop.cli.Main.main(Main.java:197)
      4 frames