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

Anil K Patel commented on OFBIZ-5107:
-------------------------------------

Carsten,
I looked in CustomerEvents.xml in trunk and then in 12.04 branch but was unable 
to find line of code that could have caused this error. The patch you have 
uploaded is not something that will not fix any issue and also I don't think we 
should put it in codebase. 

What exactly is the issue that we are trying to resolve?

Anil
                
> 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

Reply via email to