org.apache.fop.fo.ValidationException

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)

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 web107

  • 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 oxygenxml.com by Unknown author, 10 months ago
    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.
  • via nabble.com by Unknown author, 1 year ago
    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.
  • Stack trace

    • org.apache.fop.fo.ValidationException: 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) at FopTest.main(FopTest.java:60) Caused by: org.apache.fop.fo.ValidationException: 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.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder .java:292) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)

    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.