[jira] Created: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
----------------------------------------------------------------------------------

                 Key: OFBIZ-1394
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
             Project: OFBiz
          Issue Type: Bug
            Reporter: Skip Dever


I am getting lots of xml parsing errors like this:

UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.

and

UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.

and

UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.

Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541470 ]

Scott Gray commented on OFBIZ-1394:
-----------------------------------

Hi Skip

That looks like an opentaps build, can you reproduce these problems on the trunk or the release branch?

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Skip Dever
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541485 ]

Skip Dever commented on OFBIZ-1394:
-----------------------------------

Scott

You are right.  I should not have included the first instance.

The second two however are in Ofbiz code.  I got asked to report it to you guys.  It is apparently a long known issue of low importance.  Because of its low status. I expected to fix it myself, but was hoping for some pointers.

The above cases are from running an import routine I wrote.  If you need me too, I'll figure out how to make it happen in Ofbiz raw code.

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Skip Dever
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541492 ]

Scott Gray commented on OFBIZ-1394:
-----------------------------------

As the error says ${ledgerRounding} is not a valid enumeration as defined in simple-methods.xsd, I notice looking in the xsd that ${roundingMode} is valid so you could try changing ledgerRounding to roundingMode and see if that fixes it.

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Skip Dever
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Scott Gray updated OFBIZ-1394:
------------------------------

    Component/s: accounting
       Priority: Trivial  (was: Major)

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacopo Cappellato reassigned OFBIZ-1394:
----------------------------------------

    Assignee: Jacopo Cappellato

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Jacopo Cappellato closed OFBIZ-1394.
------------------------------------

    Resolution: Fixed

Skip, Scott,

thanks, they are fixed in rev. 593745

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542661 ]

Skip Dever commented on OFBIZ-1394:
-----------------------------------

Jacopo

Can you post the patch so I can add it to my production code?

Thanks

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542664 ]

Skip Dever commented on OFBIZ-1394:
-----------------------------------

Gads

I am blind.  Forget my last request Jacopo.

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542816 ]

Si Chen commented on OFBIZ-1394:
--------------------------------

Hey there, how come the BigDecimal typecasting was removed?

-                <calcop operator="get" field-name="debitTotal" type="BigDecimal"/>
-                <calcop operator="negative" field-name="creditTotal" type="BigDecimal"/>
+                <calcop operator="get" field-name="debitTotal"/>
+                <calcop operator="negative" field-name="creditTotal"/>

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1394) Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12542818 ]

Jacopo Cappellato commented on OFBIZ-1394:
------------------------------------------

Hi Si,

I've removed it because there is no "type" attribute for the calcop element.

Jacopo

> Lots of log errors related to AcctgTransServices.xml and GeneralLedgerServices.xml
> ----------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1394
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1394
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>            Reporter: Skip Dever
>            Assignee: Jacopo Cappellato
>            Priority: Trivial
>
> I am getting lots of xml parsing errors like this:
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/hot-deploy/opentaps-common/webapp/common/WEB-INF/common-controller.xml process error. Line: 27. Error message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'include'. One of '{errorpage, handler, firstvisit, preprocessor, postprocessor, after-login, before-logout, default-request, request-map, view-map}' is expected.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml process error. Line: 118. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> and
> UtilXml.java:652:ERROR] XmlFileLoader: File file:/G:/JavaProjects/opentaps1.5Work/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml process error. Line: 322. Error message: cvc-enumeration-valid: Value '${ledgerRounding}' is not facet-valid with respect to enumeration '[Ceiling, Floor, Up, Down, HalfUp, HalfDown, HalfEven, Unnecessary]'. It must be a value from the enumeration.
> Things seem to run ok, but it clutters up the log file when you are looking for real errors.  Can someone point me in the right direction to fix this?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.