org.apache.fop.fo.ValidationException: First element must be the fo:root formatt ing object. Found (Namespace URI: "http://www.w3.org/1999/xhtml", Local Name: "h tml") instead. Please make sure you're producing a valid XSL-FO document.

developpez.net | 5 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

    Problème avec FOP apache

    developpez.net | 5 months ago
    org.apache.fop.fo.ValidationException: First element must be the fo:root formatt ing object. Found (Namespace URI: "http://www.w3.org/1999/xhtml", Local Name: "h tml") instead. Please make sure you're producing a valid XSL-FO document.
  2. 0

    Problème avec FOP apache

    developpez.net | 5 months ago
    org.apache.fop.fo.ValidationException: First element must be the fo:root formatt ing object. Found (Namespace URI: "http://www.w3.org/1999/xhtml", Local Name: "h tml") instead. Please make sure you're producing a valid XSL-FO document.
  3. 0

    Multiple level 0 sections results in ValidationException: "fo:block" is not a valid child of "fo:root"

    GitHub | 3 years ago | rwinch
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: "fo:block" is not a valid child of "fo:root"! (No context info available)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache FOP returns "The column-number or number of cells in the row overflows the number of fo:table-columns specified for the table"

    Stack Overflow | 3 years ago | blckprl
    org.apache.fop.fo.ValidationException: The column-number or number of cells in the row overflows the number of fo:table-columns specified for the tab le. (See position 2:914)
  6. 0

    ValidationException during PDF generation from XML using libxslt

    Stack Overflow | 2 years ago | M F
    javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: Property ID "idp8751564240" (found on "fo:wrapper") previously used; ID values must be unique within a document! (See position 6:48)

    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 formatt ing object. Found (Namespace URI: "http://www.w3.org/1999/xhtml", Local Name: "h tml") 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:58)
      3. org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175)
      3 frames
    3. com.sun.proxy
      $Proxy0.invalidFORoot
      1. com.sun.proxy.$Proxy0.invalidFORoot(Unknown Source)
      1 frame
    4. Apache FOP
      FOTreeBuilder.startElement
      1. org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:259)
      2. org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:175)
      2 frames
    5. Xalan Java
      TransformerIdentityImpl.startElement
      1. org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1072)
      1 frame
    6. Xerces2-j
      SAXParserImpl$JAXPSAXParser.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)
      3. org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
      4. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
      5. org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
      6. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      8. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      9. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      10. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      11. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      12. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      12 frames
    7. Xalan Java
      TransformerIdentityImpl.transform
      1. org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)
      1 frame
    8. Apache FOP
      Main.main
      1. org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:300)
      2. org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
      3. org.apache.fop.cli.Main.startFOP(Main.java:177)
      4. org.apache.fop.cli.Main.main(Main.java:208)
      4 frames