Repository: cxf Updated Branches: refs/heads/2.7.x-fixes 8de189bd2 -> 7d43995fe
[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/7d43995f Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/7d43995f Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/7d43995f Branch: refs/heads/2.7.x-fixes Commit: 7d43995feff019d8691dd6b303ea064250715246 Parents: 8de189b Author: Akitoshi Yoshida <[email protected]> Authored: Tue Dec 23 22:32:34 2014 +0100 Committer: Akitoshi Yoshida <[email protected]> Committed: Tue Dec 23 22:35:31 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/7d43995f/api/src/main/resources/schemas/wsdl/mime-binding.xsd ---------------------------------------------------------------------- diff --git a/api/src/main/resources/schemas/wsdl/mime-binding.xsd b/api/src/main/resources/schemas/wsdl/mime-binding.xsd index 68fd9b3..77a7428 100644 --- a/api/src/main/resources/schemas/wsdl/mime-binding.xsd +++ b/api/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> +
