You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Carsten Schinzer (JIRA)" <ji...@apache.org> on 2012/12/19 18:45:12 UTC

[jira] [Updated] (OFBIZ-5107) XML Validation error on CustomerServices.xml

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

Carsten Schinzer updated OFBIZ-5107:
------------------------------------

    Attachment: OFBIZ-5107_XML_Validation_error_on_CustomerServices.xml.patch

the patch for this tiny one
                
> XML Validation error on CustomerServices.xml
> --------------------------------------------
>
>                 Key: OFBIZ-5107
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5107
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>         Environment: irrelevant, minilang service
>            Reporter: Carsten Schinzer
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-5107_XML_Validation_error_on_CustomerServices.xml.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Error message in the error.log is as follows:
> 2012-12-19 08:38:09,223 (http-bio-0.0.0.0-8080-exec-145) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml process error. Line: 813. Error message: cvc-enumeration-valid: Value 'debug' is not facet-valid with respect to enumeration '[info, verbose, timing, important, warning, error, fatal, always]'. It must be a value from the enumeration.
> 2012-12-19 08:38:09,224 (http-bio-0.0.0.0-8080-exec-145) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml process error. Line: 813. Error message: cvc-attribute.3: The value 'debug' of attribute 'level' on element 'log' is not valid with respect to its type, 'null'.
> 2012-12-19 08:38:09,226 (http-bio-0.0.0.0-8080-exec-145) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml process error. Line: 823. Error message: cvc-enumeration-valid: Value 'debug' is not facet-valid with respect to enumeration '[info, verbose, timing, important, warning, error, fatal, always]'. It must be a value from the enumeration.
> 2012-12-19 08:38:09,227 (http-bio-0.0.0.0-8080-exec-145) [            UtilXml.java:1062:ERROR] XmlFileLoader: File file:/usr/local/ofbiz-tr-mt12.5/specialpurpose/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml process error. Line: 823. Error message: cvc-attribute.3: The value 'debug' of attribute 'level' on element 'log' is not valid with respect to its type, 'null'.
> This was introduced with the patch for OFBIZ-5102 where I was adding these two log lines. The loging works yet fine, however it is preferrable to avoid such silly items filling our error logs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira