Commits

kubek2k committed 3cdd458

issue-4: fixing bad schema location and missing reference for beans namespace

Comments (0)

Files changed (5)

springockito/src/main/resources/spring/mockito.xsd

     elementFormDefault="qualified"
     attributeFormDefault="unqualified">
 
-   <xsd:import namespace="http://www.springframework.org/schema/beans"/>
+   <xsd:import namespace="http://www.springframework.org/schema/beans"
+        schemaLocation="http://www.springframework.org/schema/beans/spring-beans.xsd"/>
 
    <xsd:element name="mock">
       <xsd:complexType>

springockito/src/test/resources/spring/mockitoComponentScanContext.xml

     xmlns:mockito="http://www.mockito.org/spring/mockito"
     xmlns:context="http://www.springframework.org/schema/context"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-    http://www.mockito.org/spring/mockito http://www.mockito.org/spring/mockito.xsd
+    http://www.mockito.org/spring/mockito https://bitbucket.org/kubek2k/springockito/raw/tip/springockito/src/main/resources/spring/mockito.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
 
     <context:component-scan base-package="org.kubek2k.mockito.spring.testbeans"/>

springockito/src/test/resources/spring/mockitoContext.xml

     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:mockito="http://www.mockito.org/spring/mockito"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-    http://www.mockito.org/spring/mockito http://www.mockito.org/spring/mockito.xsd">
+    http://www.mockito.org/spring/mockito https://bitbucket.org/kubek2k/springockito/raw/tip/springockito/src/main/resources/spring/mockito.xsd">
     
     <mockito:mock class="org.kubek2k.mockito.spring.SomeFancyClass" id="someFancyClass" />
 

springockito/src/test/resources/spring/mockitoSpyContext.xml

     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:mockito="http://www.mockito.org/spring/mockito"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-    http://www.mockito.org/spring/mockito http://www.mockito.org/spring/mockito.xsd">
+    http://www.mockito.org/spring/mockito https://bitbucket.org/kubek2k/springockito/raw/tip/springockito/src/main/resources/spring/mockito.xsd">
     
     <mockito:spy beanName="dateToBeSpied" />
     

springockito/src/test/resources/spring/parentContext.xml

     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:mockito="http://www.mockito.org/spring/mockito"
     xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
-    http://www.mockito.org/spring/mockito http://www.mockito.org/spring/mockito.xsd">
+    http://www.mockito.org/spring/mockito https://bitbucket.org/kubek2k/springockito/raw/tip/springockito/src/main/resources/spring/mockito.xsd">
 
     <bean id="dateToBeSpied" class="java.util.Date" />