cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r478827 - in /incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl: XMLSchema.xsd http.xsd mime-binding.xsd soap-binding.xsd soap-encoding.xsd ws-addr.xsd xml.xsd
Date Fri, 24 Nov 2006 10:17:16 GMT
Author: blin
Date: Fri Nov 24 02:17:15 2006
New Revision: 478827

URL: http://svn.apache.org/viewvc?view=rev&rev=478827
Log:
This is embarassing that we still have some third-party schema files with Apache License headers
included, cleaned it with this commit. There should be no more now.



Modified:
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/http.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr.xsd
    incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/xml.xsd

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/XMLSchema.xsd Fri Nov
24 02:17:15 2006
@@ -1,22 +1,4 @@
 <?xml version='1.0' encoding='UTF-8'?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
 
 <xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" blockDefault="#all" elementFormDefault="qualified"
version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xml:lang="EN" xmlns:hfp="http://www.w3.org/2001/XMLSchema-hasFacetAndProperty">
  <xs:annotation>

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/http.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/http.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/http.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/http.xsd Fri Nov 24
02:17:15 2006
@@ -1,22 +1,4 @@
 <?xml version="1.0" encoding="UTF-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
  <!-- 
  
 Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
@@ -92,4 +74,4 @@
    	<element name="urlReplacement">
       		<complexType/>
      	</element>
-</schema>
\ No newline at end of file
+</schema>

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/mime-binding.xsd Fri
Nov 24 02:17:15 2006
@@ -1,29 +1,37 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
  
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
- <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"
-         elementFormDefault="qualified" >
+Copyright 2001-2005, International Business Machines Corporation and Microsoft Corporation
+All Rights Reserved
+
+License for WSDL Schema Files
+
+The Authors grant permission to copy and distribute the WSDL Schema 
+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
+
+THESE SCHEMA FILES ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS 
+OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THESE FILES, INCLUDING, BUT NOT 
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
+NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
+INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
+RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
+
+The name and trademarks of the Authors may NOT be used in any manner, 
+including advertising or publicity pertaining to these files or any program 
+or service that uses these files, written prior permission.  Title to copyright 
+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">
 
-	<import namespace = "http://schemas.xmlsoap.org/wsdl/"/>
+	<import namespace="http://schemas.xmlsoap.org/wsdl/"/>
    	<element name="content" type="mime:contentType"/>
    	<complexType name="contentType">
 		<complexContent>
@@ -39,18 +47,18 @@
 		<complexContent>
 		<extension base="wsdl:tExtensibilityElement">
 			<sequence>
-		      		<element name = "part" type = "mime:tPart" minOccurs="0" maxOccurs="unbounded"/>
+		      		<element name="part" type="mime:tPart" minOccurs="0" maxOccurs="unbounded"/>
 			</sequence>
 		</extension>
 		</complexContent>
    	</complexType>
-    <complexType name="tPart">
+      	<complexType name="tPart">
 		<sequence>
-	      		<any namespace="http://schemas.xmlsoap.org/wsdl/mime/ http://schemas.xmlsoap.org/wsdl/soap/"
minOccurs="0" maxOccurs="unbounded"/>
+	      		<any namespace="##targetNamespace" minOccurs="0" maxOccurs="unbounded"/>
 		</sequence>
         	<attribute name="name" type="NMTOKEN" use="required"/>
    	</complexType>
-   	<element name="mimeXml" type = "mime:tMimeXml"/>
+   	<element name="mimeXml" type="mime:tMimeXml"/>
    	<complexType name="tMimeXml">
 		<complexContent>
 		<extension base="wsdl:tExtensibilityElement">
@@ -59,4 +67,4 @@
 		</extension>
 		</complexContent>
    	</complexType>
-</schema>
+</schema>
\ No newline at end of file

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-binding.xsd Fri
Nov 24 02:17:15 2006
@@ -1,139 +1,146 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
  
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
+Copyright 2001 - 2005, International Business Machines Corporation and Microsoft Corporation
+All Rights Reserved
+
+License for WSDL Schema Files
+
+The Authors grant permission to copy and distribute the WSDL Schema 
+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/soap/2003-02-11.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 
+LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, 
+NON-INFRINGEMENT OR TITLE.  THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, 
+INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR 
+RELATING TO ANY USE OR DISTRIBUTION OF THESE FILES.
+
+The name and trademarks of the Authors may NOT be used in any manner, 
+including advertising or publicity pertaining to these files or any program 
+or service that uses these files, written prior permission.  Title to copyright 
+in these files will at all times remain with the Authors.
+
+No other rights are granted by implication, estoppel or otherwise.
+
+
 -->
- <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-           xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
-           targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/"
-           elementFormDefault="qualified" 
-           attributeFormDefault="unqualified">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://schemas.xmlsoap.org/wsdl/soap/">
 
-  <xs:import namespace = "http://schemas.xmlsoap.org/wsdl/"/>
+  <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
 
-  <xs:simpleType name="encodingStyle" >
+  <xs:simpleType name="encodingStyle">
     <xs:annotation>
       <xs:documentation>
       "encodingStyle" indicates any canonicalization conventions followed in the contents
of the containing element.  For example, the value "http://schemas.xmlsoap.org/soap/encoding/"
indicates the pattern described in SOAP specification
       </xs:documentation>
     </xs:annotation>
-    <xs:list itemType="xs:anyURI" />
+    <xs:list itemType="xs:anyURI"/>
   </xs:simpleType>
 
-  <xs:element name="binding" type="soap:tBinding" />
-  <xs:complexType name="tBinding" >
+  <xs:element name="binding" type="soap:tBinding"/>
+  <xs:complexType name="tBinding">
     <xs:complexContent>
-      <xs:extension base="wsdl:tExtensibilityElement" >
-        <xs:attribute name="transport" type="xs:anyURI" use="required" />
-        <xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
+      <xs:extension base="wsdl:tExtensibilityElement">
+        <xs:attribute name="transport" type="xs:anyURI" use="required"/>
+        <xs:attribute name="style" type="soap:tStyleChoice" use="optional"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 
-  <xs:simpleType name="tStyleChoice" >
-    <xs:restriction base="xs:string" >
-      <xs:enumeration value="rpc" />
-      <xs:enumeration value="document" />
+  <xs:simpleType name="tStyleChoice">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="rpc"/>
+      <xs:enumeration value="document"/>
     </xs:restriction>
   </xs:simpleType>
 
-  <xs:element name="operation" type="soap:tOperation" />
-  <xs:complexType name="tOperation" >
+  <xs:element name="operation" type="soap:tOperation"/>
+  <xs:complexType name="tOperation">
     <xs:complexContent>
-      <xs:extension base="wsdl:tExtensibilityElement" >
-        <xs:attribute name="soapAction" type="xs:anyURI" use="optional" />
-        <xs:attribute name="style" type="soap:tStyleChoice" use="optional" />
+      <xs:extension base="wsdl:tExtensibilityElement">
+        <xs:attribute name="soapAction" type="xs:anyURI" use="optional"/>
+        <xs:attribute name="style" type="soap:tStyleChoice" use="optional"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 
-  <xs:element name="body" type="soap:tBody" />
-  <xs:attributeGroup name="tBodyAttributes" >
-    <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
   
-    <xs:attribute name="use" type="soap:useChoice" use="optional" />
-    <xs:attribute name="namespace" type="xs:anyURI" use="optional" />
+  <xs:element name="body" type="soap:tBody"/>
+  <xs:attributeGroup name="tBodyAttributes">
+    <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional"/>	
  
+    <xs:attribute name="use" type="soap:useChoice" use="optional"/>
+    <xs:attribute name="namespace" type="xs:anyURI" use="optional"/>
   </xs:attributeGroup>
-  <xs:complexType name="tBody" >
+  <xs:complexType name="tBody">
     <xs:complexContent>
-      <xs:extension base="wsdl:tExtensibilityElement" >
-        <xs:attribute name="parts" type="xs:NMTOKENS" use="optional" />
-        <xs:attributeGroup ref = "soap:tBodyAttributes" />
+      <xs:extension base="wsdl:tExtensibilityElement">
+        <xs:attribute name="parts" type="xs:NMTOKENS" use="optional"/>
+        <xs:attributeGroup ref="soap:tBodyAttributes"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
   
-  <xs:simpleType name="useChoice" >
-    <xs:restriction base="xs:string" >
-      <xs:enumeration value="literal" />
-      <xs:enumeration value="encoded" />
+  <xs:simpleType name="useChoice">
+    <xs:restriction base="xs:string">
+      <xs:enumeration value="literal"/>
+      <xs:enumeration value="encoded"/>
     </xs:restriction>
   </xs:simpleType>
 
-  <xs:element name="fault" type="soap:tFault" />
-  <xs:complexType name="tFaultRes" abstract="true" >
+  <xs:element name="fault" type="soap:tFault"/>
+  <xs:complexType name="tFaultRes" abstract="true">
     <xs:complexContent>
-      <xs:restriction base="soap:tBody" >
-	    <xs:attribute ref="wsdl:required" use="optional" /> 
-        <xs:attribute name="parts" type="xs:NMTOKENS" use="prohibited" />
-		<xs:attributeGroup ref="soap:tBodyAttributes" />
+      <xs:restriction base="soap:tBody">
+	    <xs:attribute ref="wsdl:required" use="optional"/> 
+        <xs:attribute name="parts" type="xs:NMTOKENS" use="prohibited"/>
+		<xs:attributeGroup ref="soap:tBodyAttributes"/>
       </xs:restriction>
     </xs:complexContent>  	
   </xs:complexType>
-  <xs:complexType name="tFault" >
+  <xs:complexType name="tFault">
     <xs:complexContent>
       <xs:extension base="soap:tFaultRes">
-        <xs:attribute name="name" type="xs:NCName" use="required" />
+        <xs:attribute name="name" type="xs:NCName" use="required"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 
 
-  <xs:element name="header" type="soap:tHeader" />
-  <xs:attributeGroup name="tHeaderAttributes" >
-    <xs:attribute name="message" type="xs:QName" use="required" />
-    <xs:attribute name="part" type="xs:NMTOKEN" use="required" />
-    <xs:attribute name="use" type="soap:useChoice" use="required" />
-    <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional" />
-    <xs:attribute name="namespace" type="xs:anyURI" use="optional" />      
+  <xs:element name="header" type="soap:tHeader"/>
+  <xs:attributeGroup name="tHeaderAttributes">
+    <xs:attribute name="message" type="xs:QName" use="required"/>
+    <xs:attribute name="part" type="xs:NMTOKEN" use="required"/>
+    <xs:attribute name="use" type="soap:useChoice" use="required"/>
+    <xs:attribute name="encodingStyle" type="soap:encodingStyle" use="optional"/>
+    <xs:attribute name="namespace" type="xs:anyURI" use="optional"/>      
   </xs:attributeGroup>
-  <xs:complexType name="tHeader" >
+  <xs:complexType name="tHeader">
     <xs:complexContent>
-      <xs:extension base="wsdl:tExtensibilityElement" >
+      <xs:extension base="wsdl:tExtensibilityElement">
         <xs:sequence>
-          <xs:element ref="soap:headerfault" minOccurs="0" maxOccurs="unbounded" />
+          <xs:element ref="soap:headerfault" minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
-		<xs:attributeGroup ref="soap:tHeaderAttributes" />
+		<xs:attributeGroup ref="soap:tHeaderAttributes"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 
-  <xs:element name="headerfault" type="soap:tHeaderFault" />
-  <xs:complexType name="tHeaderFault" >
-	<xs:attributeGroup ref="soap:tHeaderAttributes" />
+  <xs:element name="headerfault" type="soap:tHeaderFault"/>
+  <xs:complexType name="tHeaderFault">
+	<xs:attributeGroup ref="soap:tHeaderAttributes"/>
   </xs:complexType>
 
-  <xs:element name="address" type="soap:tAddress" />
-  <xs:complexType name="tAddress" >
+  <xs:element name="address" type="soap:tAddress"/>
+  <xs:complexType name="tAddress">
     <xs:complexContent>
-      <xs:extension base="wsdl:tExtensibilityElement" >
-        <xs:attribute name="location" type="xs:anyURI" use="required" />
+      <xs:extension base="wsdl:tExtensibilityElement">
+        <xs:attribute name="location" type="xs:anyURI" use="required"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 
-</xs:schema>
+</xs:schema>
\ No newline at end of file

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/soap-encoding.xsd Fri
Nov 24 02:17:15 2006
@@ -1,23 +1,4 @@
 <?xml version='1.0' encoding='UTF-8' ?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
 <!-- Schema for the SOAP/1.1 encoding
 
      This schema has been produced using W3C's SOAP Version 1.2 schema

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/ws-addr.xsd Fri Nov
24 02:17:15 2006
@@ -1,23 +1,5 @@
 <?xml version='1.0' encoding='utf-8' ?>
 <!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
- 
-  http://www.apache.org/licenses/LICENSE-2.0
- 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<!--
     W3C XML Schema defined in the Web Services Addressing 1.0 specification
     http://www.w3.org/TR/ws-addr-core
 

Modified: incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/xml.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/xml.xsd?view=diff&rev=478827&r1=478826&r2=478827
==============================================================================
--- incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/xml.xsd (original)
+++ incubator/cxf/trunk/common/schemas/src/main/resources/schemas/wsdl/xml.xsd Fri Nov 24
02:17:15 2006
@@ -1,44 +1,146 @@
 <?xml version="1.0"?>
 <xs:schema targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xml:lang="en">
-	<xs:annotation>
-		<xs:documentation>This schema defines attributes and an attribute group
+
+ <xs:annotation>
+  <xs:documentation>
+   See http://www.w3.org/XML/1998/namespace.html and
+   http://www.w3.org/TR/REC-xml for information about this namespace.
+
+    This schema document describes the XML namespace, in a form
+    suitable for import by other schema documents.  
+
+    Note that local names in this namespace are intended to be defined
+    only by the World Wide Web Consortium or its subgroups.  The
+    following names are currently defined in this namespace and should
+    not be used with conflicting semantics by any Working Group,
+    specification, or document instance:
+
+    base (as an attribute name): denotes an attribute whose value
+         provides a URI to be used as the base for interpreting any
+         relative URIs in the scope of the element on which it
+         appears; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML Base specification.
+
+    id   (as an attribute name): denotes an attribute whose value
+         should be interpreted as if declared to be of type ID.
+         The xml:id specification is not yet a W3C Recommendation,
+         but this attribute is included here to facilitate experimentation
+         with the mechanisms it proposes.  Note that it is _not_ included
+         in the specialAttrs attribute group.
+
+    lang (as an attribute name): denotes an attribute whose value
+         is a language code for the natural language of the content of
+         any element; its value is inherited.  This name is reserved
+         by virtue of its definition in the XML specification.
+  
+    space (as an attribute name): denotes an attribute whose
+         value is a keyword indicating what whitespace processing
+         discipline is intended for the content of the element; its
+         value is inherited.  This name is reserved by virtue of its
+         definition in the XML specification.
+
+    Father (in any context at all): denotes Jon Bosak, the chair of 
+         the original XML Working Group.  This name is reserved by 
+         the following decision of the W3C XML Plenary and 
+         XML Coordination groups:
+
+             In appreciation for his vision, leadership and dedication
+             the W3C XML Plenary on this 10th day of February, 2000
+             reserves for Jon Bosak in perpetuity the XML name
+             xml:Father
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>This schema defines attributes and an attribute group
         suitable for use by
-        schemas wishing to allow xml:lang or xml:space attributes
-        on elements they define.
+        schemas wishing to allow xml:base, xml:lang, xml:space or xml:id
+        attributes on elements they define.
 
         To enable this, such a schema must import this schema
         for the XML namespace, e.g. as follows:
-        &lt;schema . . .>
+        &lt;schema . . .&gt;
          . . .
          &lt;import namespace="http://www.w3.org/XML/1998/namespace"
-                    schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
+                    schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
 
-        Subsequently, qualified reference to either of the attributes
+        Subsequently, qualified reference to any of the attributes
         or the group defined below will have the desired effect, e.g.
 
-        &lt;type . . .>
+        &lt;type . . .&gt;
          . . .
-         &lt;attributeGroup ref="xml:specialAttrs"/>
+         &lt;attributeGroup ref="xml:specialAttrs"/&gt;
  
-         will define a type which will schema-validate a instance
-         element with both xml:space and xml:lang attribute</xs:documentation>
-	</xs:annotation>
-	<xs:attribute name="lang" type="xs:language">
-		<xs:annotation>
-			<xs:documentation>In due course, we should install the relevant ISO 2- and 3-letter
-         codes as the enumerated possible values . . .</xs:documentation>
-		</xs:annotation>
-	</xs:attribute>
-	<xs:attribute name="space" default="preserve">
-		<xs:simpleType>
-			<xs:restriction base="xs:NCName">
-				<xs:enumeration value="default"/>
-				<xs:enumeration value="preserve"/>
-			</xs:restriction>
-		</xs:simpleType>
-	</xs:attribute>
-	<xs:attributeGroup name="specialAttrs">
-		<xs:attribute ref="xml:lang"/>
-		<xs:attribute ref="xml:space"/>
-	</xs:attributeGroup>
-</xs:schema>
+         will define a type which will schema-validate an instance
+         element with any of those attributes</xs:documentation>
+ </xs:annotation>
+
+ <xs:annotation>
+  <xs:documentation>In keeping with the XML Schema WG's standard versioning
+   policy, this schema document will persist at
+   http://www.w3.org/2005/08/xml.xsd.
+   At the date of issue it can also be found at
+   http://www.w3.org/2001/xml.xsd.
+   The schema document at that URI may however change in the future,
+   in order to remain compatible with the latest version of XML Schema
+   itself, or with the XML namespace itself.  In other words, if the XML
+   Schema or XML namespaces change, the version of this document at
+   http://www.w3.org/2001/xml.xsd will change
+   accordingly; the version at
+   http://www.w3.org/2005/08/xml.xsd will not change.
+  </xs:documentation>
+ </xs:annotation>
+
+ <xs:attribute name="lang">
+  <xs:annotation>
+   <xs:documentation>Attempting to install the relevant ISO 2- and 3-letter
+         codes as the enumerated possible values is probably never
+         going to be a realistic possibility.  See
+         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
+         at http://www.iana.org/assignments/lang-tag-apps.htm for
+         further information.
+
+         The union allows for the 'un-declaration' of xml:lang with
+         the empty string.</xs:documentation>
+  </xs:annotation>
+  <xs:simpleType>
+   <xs:union memberTypes="xs:language">
+    <xs:simpleType>    
+     <xs:restriction base="xs:string">
+      <xs:enumeration value=""/>
+     </xs:restriction>
+    </xs:simpleType>
+   </xs:union>
+  </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="space">
+  <xs:simpleType>
+   <xs:restriction base="xs:NCName">
+    <xs:enumeration value="default"/>
+    <xs:enumeration value="preserve"/>
+   </xs:restriction>
+  </xs:simpleType>
+ </xs:attribute>
+
+ <xs:attribute name="base" type="xs:anyURI">
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xmlbase/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+ 
+ <xs:attribute name="id" type="xs:ID">
+  <xs:annotation>
+   <xs:documentation>See http://www.w3.org/TR/xml-id/ for
+                     information about this attribute.</xs:documentation>
+  </xs:annotation>
+ </xs:attribute>
+
+ <xs:attributeGroup name="specialAttrs">
+  <xs:attribute ref="xml:base"/>
+  <xs:attribute ref="xml:lang"/>
+  <xs:attribute ref="xml:space"/>
+ </xs:attributeGroup>
+
+</xs:schema>
\ No newline at end of file



Mime
View raw message