You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2014/12/23 22:33:23 UTC

cxf git commit: [CXF-6151] updating the mime-binding wsdl schema with 2004-08-24 version

Repository: cxf
Updated Branches:
  refs/heads/master 46d5a13c2 -> a815cd9b5


[CXF-6151] updating the mime-binding wsdl schema with 2004-08-24 version


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a815cd9b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a815cd9b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a815cd9b

Branch: refs/heads/master
Commit: a815cd9b56cd1f51a2eac8d941ed19a984765103
Parents: 46d5a13
Author: Akitoshi Yoshida <ay...@apache.org>
Authored: Tue Dec 23 22:32:34 2014 +0100
Committer: Akitoshi Yoshida <ay...@apache.org>
Committed: Tue Dec 23 22:32:34 2014 +0100

----------------------------------------------------------------------
 .../resources/schemas/wsdl/mime-binding.xsd     | 75 +++++++++++---------
 1 file changed, 41 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a815cd9b/core/src/main/resources/schemas/wsdl/mime-binding.xsd
----------------------------------------------------------------------
diff --git a/core/src/main/resources/schemas/wsdl/mime-binding.xsd b/core/src/main/resources/schemas/wsdl/mime-binding.xsd
index 68fd9b3..77a7428 100644
--- a/core/src/main/resources/schemas/wsdl/mime-binding.xsd
+++ b/core/src/main/resources/schemas/wsdl/mime-binding.xsd
@@ -11,7 +11,7 @@ Files in any medium without fee or royalty as long as this notice and
 license are distributed with them.  The originals of these files can 
 be located at:
 
-http://schemas.xmlsoap.org/wsdl/mime/2002-01-29.xsd
+http://schemas.xmlsoap.org/wsdl/mime/2004-08-24.xsd
 
 THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
 OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
@@ -28,43 +28,50 @@ in these files will at all times remain with the Authors.
 No other rights are granted by implication, estoppel or otherwise.
 
 
-  -->
-<schema targetNamespace="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
+  --> 
+<schema targetNamespace="http://schemas.xmlsoap.org/wsdl/mime/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/">
 
-	<import namespace="http://schemas.xmlsoap.org/wsdl/"/>
-   	<element name="content" type="mime:contentType"/>
-   	<complexType name="contentType">
+	<import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="http://schemas.xmlsoap.org/wsdl/" />
+
+	<element name="content" type="mime:contentType"/>
+	<complexType name="contentType">
 		<complexContent>
-		<extension base="wsdl:tExtensibilityElement">
-			<sequence/>
-      			<attribute name="type" type="string" use="optional"/>
-	      		<attribute name="part" type="NMTOKEN" use="optional"/>
-		</extension>
+			<extension base="wsdl:tExtensibilityElement">
+				<sequence/>
+				<attribute name="type" type="string" use="optional"/>
+				<attribute name="part" type="NMTOKEN" use="required"/>
+			</extension>
 		</complexContent>
-   	</complexType>
-   	<element name="multipartRelated" type="mime:multipartRelatedType"/>
-   	<complexType name="multipartRelatedType">
+	</complexType>
+	
+  <element name="multipartRelated" type="mime:multipartRelatedType"/>
+	<complexType name="multipartRelatedType">
 		<complexContent>
-		<extension base="wsdl:tExtensibilityElement">
-			<sequence>
-		      		<element name="part" type="mime:tPart" minOccurs="0" maxOccurs="unbounded"/>
-			</sequence>
-		</extension>
+			<extension base="wsdl:tExtensibilityElement">
+				<sequence>
+					<element ref="mime:part" minOccurs="0" maxOccurs="unbounded"/>
+				</sequence>
+			</extension>
 		</complexContent>
-   	</complexType>
-      	<complexType name="tPart">
+	</complexType>
+  
+	<element name="part" type="mime:tPart"/>
+	<complexType name="tPart">
 		<sequence>
-	      		<any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded"/>
+			<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
 		</sequence>
-        	<attribute name="name" type="NMTOKEN" use="required"/>
-   	</complexType>
-   	<element name="mimeXml" type="mime:tMimeXml"/>
-   	<complexType name="tMimeXml">
-		<complexContent>
-		<extension base="wsdl:tExtensibilityElement">
-			<sequence/>
-			<attribute name="part" type="NMTOKEN" use="optional"/>
-		</extension>
-		</complexContent>
-   	</complexType>
-</schema>
\ No newline at end of file
+		<attribute name="name" type="NMTOKEN" use="optional"/>
+	</complexType>
+
+  <element name="mimeXml" type="mime:tMimeXml" />
+  <complexType name="tMimeXml">
+      <complexContent>
+          <extension base="wsdl:tExtensibilityElement">
+              <sequence />
+              <attribute name="part" type="NMTOKEN" use="optional" />
+          </extension>
+      </complexContent>
+  </complexType>
+
+</schema>
+