Hi Yang, I'm not quite sure why you get that. It's not a big deal, has no other effects than this information in log.
It's due to inconsistency with your code and http://ofbiz.apache.org/dtds/site-conf.xsd As you can see, it has been changed last week: https://github.com/apache/ofbiz-site/blame/master/dtds/site-conf.xsd#L779 Apparently your code is up-to-date since you have the "Attribute 'auth' " in 'view-map' occurrences. Maybe you have the "old" site-conf.xsd somewhere in a cache, or can't read the current one? Jacques Le 01/09/2024 à 03:30, 雷咩咩 a écrit :
hi ofbiz users, I use the framework trunk and ecommerce plugin of almost latest version(1~2 week ago?), and I got a lot of such warnings as the title. for example: 2024-09-01 09:05:57,781 |sse-nio-8443-exec-14 |UtilXml |E| XmlFileLoader: Filefile:/home/ofbiz-user/ofbiz-framework/plugins/ecommerce/webapp/ecommerce/WEB-INF/controller.xml process error. Line: 1928. Error message: cvc-complex-type.3.2.2: Attribute 'auth' is not allowed to appear in element 'view-map'. 2024-09-01 09:05:57,781 |sse-nio-8443-exec-14 |UtilXml |E| XmlFileLoader: Filefile:/home/ofbiz-user/ofbiz-framework/plugins/ecommerce/webapp/ecommerce/WEB-INF/controller.xml process error. Line: 1929. Error message: cvc-complex-type.3.2.2: Attribute 'auth' is not allowed to appear in element 'view-map'. 2024-09-01 09:05:57,781 |sse-nio-8443-exec-14 |UtilXml |E| XmlFileLoader: Filefile:/home/ofbiz-user/ofbiz-framework/plugins/ecommerce/webapp/ecommerce/WEB-INF/controller.xml process error. Line: 1930. Error message: cvc-complex-type.3.2.2: Attribute 'auth' is not allowed to appear in element 'view-map'. 2024-09-01 09:05:57,791 |sse-nio-8443-exec-14 |UtilXml |E| XmlFileLoader: Filefile:/home/ofbiz-user/ofbiz-framework/plugins/ecommerce/webapp/ecommerce/WEB-INF/controller.xml process error. Line: 1931. Error message: cvc-complex-type.3.2.2: Attribute 'auth' is not allowed to appear in element 'view-map'. 2024-09-01 09:05:57,791 |sse-nio-8443-exec-14 |UtilXml |E| XmlFileLoader: Filefile:/home/ofbiz-user/ofbiz-framework/plugins/ecommerce/webapp/ecommerce/WEB-INF/controller.xml process error. Line: 1934. Error message: cvc-complex-type.3.2.2: Attribute 'auth' is not allowed to appear in element 'view-map'. Should I configure somewhere to avoid these warings? or should the plugin itself should be updated(remove the auth attribute)? Regards, Yang