You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/07/30 08:50:39 UTC

[jira] [Updated] (OFBIZ-5695) Unable to transform FO file: accounting/control/PrintInvoices

     [ https://issues.apache.org/jira/browse/OFBIZ-5695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-5695:
-----------------------------------

    Description: 
{code}
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57) javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57)
{code}
{code}
Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Begin Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->
     [java]
  <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
      <fo:simple-page-master master-name="main" page-height="11in" page-width="8.5in"
        margin-top="0.5in" margin-bottom="1in" margin-left=".5in" margin-right="1in">
          <fo:region-body margin-top="1in"/>
          <fo:region-before extent="1in"/>
          <fo:region-after extent="1in"/>
      </fo:simple-page-master>
    </fo:layout-master-set>
  </fo:root>
<!-- End Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->
{code}

  was:
Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57) javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57)

Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Begin Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->
     [java]
  <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
      <fo:simple-page-master master-name="main" page-height="11in" page-width="8.5in"
        margin-top="0.5in" margin-bottom="1in" margin-left=".5in" margin-right="1in">
          <fo:region-body margin-top="1in"/>
          <fo:region-before extent="1in"/>
          <fo:region-after extent="1in"/>
      </fo:simple-page-master>
    </fo:layout-master-set>
  </fo:root>
<!-- End Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->



> Unable to transform FO file: accounting/control/PrintInvoices
> -------------------------------------------------------------
>
>                 Key: OFBIZ-5695
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5695
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>
> {code}
> Unable to transform FO file: org.apache.fop.apps.FOPException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57) javax.xml.transform.TransformerException: org.apache.fop.fo.ValidationException: null:7:57: "fo:root" is missing child elements. Required content model: (layout-master-set, declarations?, bookmark-tree?, (page-sequence|fox:external-document)+) (See position 7:57)
> {code}
> {code}
> Screen XSL:FO text was:
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Begin Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->
>      [java]
>   <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>     <fo:layout-master-set>
>       <fo:simple-page-master master-name="main" page-height="11in" page-width="8.5in"
>         margin-top="0.5in" margin-bottom="1in" margin-left=".5in" margin-right="1in">
>           <fo:region-body margin-top="1in"/>
>           <fo:region-before extent="1in"/>
>           <fo:region-after extent="1in"/>
>       </fo:simple-page-master>
>     </fo:layout-master-set>
>   </fo:root>
> <!-- End Template component://accounting/webapp/accounting/invoice/PrintInvoices.fo.ftl -->
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)