You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2012/05/22 10:31:21 UTC

svn commit: r1341349 - in /cxf/trunk: rt/features/clustering/src/main/resources/schemas/ systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/

Author: ningjiang
Date: Tue May 22 08:31:21 2012
New Revision: 1341349

URL: http://svn.apache.org/viewvc?rev=1341349&view=rev
Log:
CXF-4327 testing the cluster schema

Modified:
    cxf/trunk/rt/features/clustering/src/main/resources/schemas/clustering.xsd
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover.xml
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover_address_override.xml
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor.xml
    cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor_address_override.xml

Modified: cxf/trunk/rt/features/clustering/src/main/resources/schemas/clustering.xsd
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/features/clustering/src/main/resources/schemas/clustering.xsd?rev=1341349&r1=1341348&r2=1341349&view=diff
==============================================================================
--- cxf/trunk/rt/features/clustering/src/main/resources/schemas/clustering.xsd (original)
+++ cxf/trunk/rt/features/clustering/src/main/resources/schemas/clustering.xsd Tue May 22 08:31:21 2012
@@ -19,14 +19,14 @@
 -->
 <xsd:schema xmlns="http://cxf.apache.org/clustering"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-  xmlns:beans="http://www.springframework.org/schema/beans"
+  xmlns:tns="http://cxf.apache.org/clustering"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   targetNamespace="http://cxf.apache.org/clustering" 
   elementFormDefault="qualified"
   attributeFormDefault="unqualified"  >
 
  <xsd:complexType name="identifiedType" abstract="true">
-    <xsd:attribute name="id" type="xs:ID"/>
+    <xsd:attribute name="id" type="xsd:ID"/>
   </xsd:complexType>
   
   <xsd:element name="failover">
@@ -47,7 +47,8 @@
                 <xsd:documentation>Configures the targetSelector which will be used in the failover feature.</xsd:documentation>
               </xsd:annotation>
             </xsd:element>
-         </xsd:all>   
+          </xsd:all>
+        </xsd:extension>   
       </xsd:complexContent>
     </xsd:complexType>
   </xsd:element>

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover.xml?rev=1341349&r1=1341348&r2=1341349&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover.xml (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover.xml Tue May 22 08:31:21 2012
@@ -24,6 +24,7 @@
        xmlns:http="http://cxf.apache.org/transports/http/configuration"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+http://cxf.apache.org/clustering http://cxf.apache.org/schemas/clustering.xsd
 http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
     

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover_address_override.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover_address_override.xml?rev=1341349&r1=1341348&r2=1341349&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover_address_override.xml (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/failover_address_override.xml Tue May 22 08:31:21 2012
@@ -25,6 +25,7 @@
        xmlns:http="http://cxf.apache.org/transports/http/configuration"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+http://cxf.apache.org/clustering http://cxf.apache.org/schemas/clustering.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
 http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor.xml?rev=1341349&r1=1341348&r2=1341349&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor.xml (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor.xml Tue May 22 08:31:21 2012
@@ -24,6 +24,7 @@
        xmlns:clustering="http://cxf.apache.org/clustering"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+http://cxf.apache.org/clustering http://cxf.apache.org/schemas/clustering.xsd
 http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
     

Modified: cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor_address_override.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor_address_override.xml?rev=1341349&r1=1341348&r2=1341349&view=diff
==============================================================================
--- cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor_address_override.xml (original)
+++ cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/clustering/load_distributor_address_override.xml Tue May 22 08:31:21 2012
@@ -25,6 +25,7 @@
        xmlns:util="http://www.springframework.org/schema/util"
        xsi:schemaLocation="
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
+http://cxf.apache.org/clustering http://cxf.apache.org/schemas/clustering.xsd
 http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">