Carsten Schinzer created OFBIZ-5107:
---------------------------------------
Summary: 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
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