[
https://issues.apache.org/jira/browse/FINERACT-898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17086199#comment-17086199
]
Michael Vorburger edited comment on FINERACT-898 at 4/18/20, 1:40 AM:
----------------------------------------------------------------------
I just checked whether we are actually using
http://www.vmware.com/schema/security/spring-security.xsd anywhere, [but we're
not|https://github.com/apache/fineract/search?q=xsd&unscoped_q=xsd].
However, according to https://kb.vmware.com/s/article/2021147, it is
recommended to use "schemaless" XSDs. For example, use spring-beans.xsd instead
of spring-beans-3.1.xsd, and we don't do always do that. Let's try to change
that, and see if perhaps by chance it fixes this?
was (Author: vorburger):
I jsut checked whether we are actually using
http://www.vmware.com/schema/security/spring-security.xsd anywhere, [but we're
not|https://github.com/apache/fineract/search?q=xsd&unscoped_q=xsd].
However, according to https://kb.vmware.com/s/article/2021147, it is
recommended to use "schemaless" XSDs. For example, use spring-beans.xsd instead
of spring-beans-3.1.xsd, and we don't do always do that. Let's try to change
that, and see if perhaps by chance it fixes this?
> Test failures due to XmlBeanDefinitionStoreException Caused by:
> org.xml.sax.SAXParseException
> ---------------------------------------------------------------------------------------------
>
> Key: FINERACT-898
> URL: https://issues.apache.org/jira/browse/FINERACT-898
> Project: Apache Fineract
> Issue Type: Bug
> Reporter: Michael Vorburger
> Priority: Major
>
> [https://travis-ci.org/github/apache/fineract/builds/676411255] for
> [https://github.com/apache/fineract/pull/763] just failed due to:
> {noformat}> Task :test
> org.apache.fineract.infrastructure.configuration.spring.SpringConfigurationTest
> > testSpringXMLConfiguration FAILED
> java.lang.IllegalStateException at
> DefaultCacheAwareContextLoaderDelegate.java:132
> Caused by:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException at
> XmlBeanDefinitionReader.java:405
> Caused by: org.xml.sax.SAXParseException at null:-1
> org.apache.fineract.commands.provider.CommandHandlerProviderTest >
> shouldThrowUnsupportedCommandException FAILED
> java.lang.IllegalStateException at
> DefaultCacheAwareContextLoaderDelegate.java:132
> Caused by:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException at
> XmlBeanDefinitionReader.java:405
> Caused by: org.xml.sax.SAXParseException at null:-1
> org.apache.fineract.commands.provider.CommandHandlerProviderTest >
> shouldRegisterHandler FAILED
> java.lang.IllegalStateException at
> DefaultCacheAwareContextLoaderDelegate.java:132
> Caused by:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException at
> XmlBeanDefinitionReader.java:405
> Caused by: org.xml.sax.SAXParseException at null:-1
> 23 tests completed, 3 failed{noformat}
> This makes very little sense - that PR didn't touch Spring XML files...
> I don't understand if and how this be another "spurious" test failure...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)