You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2006/08/09 11:28:16 UTC

svn commit: r430012 [4/4] - in /incubator/tuscany/cpp/sca: runtime/core/src/ runtime/core/src/osoa/sca/ runtime/core/src/tuscany/sca/core/ runtime/core/src/tuscany/sca/model/ runtime/core/src/tuscany/sca/util/ runtime/core/src/tuscany/sca/ws/ runtime/w...

Modified: incubator/tuscany/cpp/sca/xsd/sca-core.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-core.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-core.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-core.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,227 +14,113 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <element name="componentType" type="sca:ComponentType" />
+    <complexType name="ComponentType">
+        <sequence>
+            <element minOccurs="0" maxOccurs="unbounded" name="service" type="sca:ServiceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="reference" type="sca:ReferenceType" />
+            <element minOccurs="0" maxOccurs="unbounded" name="property" type="sca:PropertyType" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    
+    <element name="interface" type="sca:Interface" abstract="true"/>
+    <complexType name="Interface" abstract="true"/>
+
+    <element name="binding" type="sca:Binding" abstract="true" />
+    <complexType name="Binding" abstract="true">
+        <attribute name="uri" type="anyURI" use="optional" />
+    </complexType>
+
+    <complexType name="ServiceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="ReferenceType">
+        <sequence>
+            <element ref="sca:interface" minOccurs="1" maxOccurs="1" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <!-- a multiplicity 1..1 or 0..n sample
+               <reference>StockQuoteComponent</reference> - type must be URI
+               a multiplicity 1..n or 0..n sample
+               <reference>StockQuoteComponent1</reference> - type must be URI
+               <reference>StockQuoteComponent2</reference>
+        -->
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1" />
+        <attribute name="override" type="sca:OverrideOptions" default="may" use="optional" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <simpleType name="Multiplicity">
+        <restriction base="string">
+            <enumeration value="0..1" />
+            <enumeration value="1..1" />
+            <enumeration value="0..n" />
+            <enumeration value="1..n" />
+        </restriction>
+    </simpleType>
+
+    <simpleType name="OverrideOptions">
+        <restriction base="string">
+            <enumeration value="no" />
+            <enumeration value="may" />
+            <enumeration value="must" />
+        </restriction>
+    </simpleType>
+    
+    <complexType name="PropertyType">
+        <sequence>
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="type" type="QName" use="required" />
+        <attribute name="many" type="boolean" default="false" use="optional" />
+        <attribute name="override" type="sca:OverrideOptions" default="may" use="optional" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="Component">
+        <sequence>
+            <element ref="sca:implementation" minOccurs="1" maxOccurs="1" />
+            <element name="reference" type="sca:Reference" minOccurs="0" maxOccurs="unbounded" />
+            <element name="property" type="sca:Property" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+    
+    <complexType name="Property">
+        <sequence>
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+        </sequence>
+        <attribute name="name" type="NCName" use="required" />
+        <attribute name="source" type="string" use="optional" />
+        <anyAttribute namespace="##any" processContents="lax" />
+    </complexType>
+
+    <complexType name="Reference">
+        <simpleContent>
+            <extension base="anyURI">
+                <attribute name="name" type="NCName" use="required" />
+            </extension>
+        </simpleContent>
+    </complexType>
 
-<schema	xmlns="http://www.w3.org/2001/XMLSchema" 
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-		xmlns:sdo="commonj.sdo/XML"
-		elementFormDefault="qualified">
-
-  <element name="componentType" type="sca:ComponentType"/>
-  <complexType name="ComponentType">
-    <sequence>
-      <element minOccurs="0" maxOccurs="unbounded" name="service" type="sca:Service"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="reference" type="sca:Reference"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="property" type="sca:Property"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <complexType name="Service">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:interface"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <element name="interface" type="sca:Interface"/>
-  <complexType name="Interface"/>
-
-  <complexType name="Reference">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:interface"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <complexType name="Property"> <!-- abstract="true"-->
-    <sequence>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="type" type="QName" use="required"/>
-    <attribute name="many" type="boolean" default="false" use="optional"/>
-    <attribute name="required" type="boolean" default="false" use="optional"/>
-    <attribute name="default" type="string" use="optional"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-
-  <element name="compositeFragment" type="sca:CompositeFragment"/>
-  <complexType name="CompositeFragment">
-    <sequence>
-      <element minOccurs="0" maxOccurs="unbounded" name="entryPoint" type="sca:EntryPoint"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="component" type="sca:Component"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="externalService" type="sca:ExternalService"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="wire" type="sca:CompositeWire"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <element name="composite" type="sca:Composite"/>
-  <complexType name="Composite">
-    <complexContent>
-      <extension base="sca:CompositeFragment"/>
-    </complexContent>
-  </complexType>
-
-  <complexType name="EntryPoint">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:interface"/>
-      <element minOccurs="1" maxOccurs="unbounded" ref="sca:binding"/>
-      <element minOccurs="1" maxOccurs="unbounded" name="reference" type="anyURI"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="multiplicity" type="sca:Multiplicity" use="optional" default="1..1"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-  <!-- a multiplicity 1..1 or 0..n sample
-      <reference>StockQuoteComponent</reference>	- type must be URI
-     a multiplicity 1..n or 0..n sample
-      <reference>StockQuoteComponent1</reference>	- type must be URI
-      <reference>StockQuoteComponent2</reference>
-   -->
-
-  <element name="binding" type="sca:Binding"/>
-  <complexType name="Binding">
-    <attribute name="uri" type="anyURI" use="optional"/>
-  </complexType>
-	
-
-  <complexType name="Component">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:implementation"/>
-      <element minOccurs="0" maxOccurs="1" name="properties" type="sca:PropertyValues"/>
-      <element minOccurs="0" maxOccurs="1" name="references" type="sca:ReferenceValues"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-  <!-- a multiplicity 1..1 or 0..1 sample
-      <references>
-        <v:stockQuote>
-StockQuoteComponent
-</v:stockquote>				- type must be URI
-      </references>
-     a multiplicity 1..n or 0..n sample
-      <references>
-        <v:stockQuote>StockQuoteComponent1</v:stockQuote>	
-- type must be URI
-        <v:stockQuote>StockQuoteComponent2</v:stockQuote>
-      </references>
-   -->
-
-  <element name="implementation" type="sca:Implementation"/>
-  <complexType name="Implementation"/>
-
-  <complexType name="PropertyValues">
-    <sequence>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <complexType name="ReferenceValues">
-    <sequence>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-
-  <complexType name="ExternalService">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:interface"/>
-      <element minOccurs="0" maxOccurs="unbounded" ref="sca:binding"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="overridable" type="sca:OverrideOptions" default="may" use="optional"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-	
-
-  <complexType name="CompositeWire">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:source.uri" sdo:name="sourceUri"/>
-      <element minOccurs="1" maxOccurs="1" ref="sca:target.uri" sdo:name="targetUri"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <element name="source" type="anyType"/>
-  <element name="target" type="anyType"/>
-	
-
-  <element name="source.uri" type="anyURI" substitutionGroup="sca:source" sdo:name="sourceUri"/>
-  <element name="target.uri" type="anyURI" substitutionGroup="sca:target" sdo:name="targetUri"/>
-
-  <element name="subsystem" type="sca:Subsystem"/>
-  <complexType name="Subsystem">
-    <sequence>
-      <element minOccurs="0" maxOccurs="unbounded" name="entryPoint" type="sca:EntryPoint"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="compositeComponent" type="sca:CompositeComponent"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="externalService" type="sca:ExternalService"/>
-      <element minOccurs="0" maxOccurs="unbounded" name="wire" type="sca:SystemWire"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="uri" type="anyURI" use="optional"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-	
-
-  <complexType name="CompositeComponent">
-    <sequence>
-      <element minOccurs="0" maxOccurs="1" name="properties" type="sca:PropertyValues"/>
-      <element minOccurs="0" maxOccurs="1" name="references" type="sca:ReferenceValues"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-    <attribute name="name" type="NCName" use="required"/>
-    <attribute name="composite" type="NCName" use="required"/>
-    <attribute name="uri" type="anyURI" use="optional"/>
-    <anyAttribute namespace="##any" processContents="lax"/>
-  </complexType>
-
-  <complexType name="SystemWire">
-    <sequence>
-      <element minOccurs="1" maxOccurs="1" ref="sca:source"/>
-      <element minOccurs="1" maxOccurs="1" ref="sca:target"/>
-      <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-    </sequence>
-  </complexType>
-
-  <element name="source.epr" type="anyType" substitutionGroup="sca:source"/>
-  <element name="target.epr" type="anyType" substitutionGroup="sca:target"/>
-
-  <simpleType name="Multiplicity">
-    <restriction base="string">
-      <enumeration value="0..1"/>
-      <enumeration value="1..1"/>
-      <enumeration value="0..n"/>
-      <enumeration value="1..n"/>
-    </restriction>
-  </simpleType>
-
-  <simpleType name="OverrideOptions">
-    <restriction base="string">
-      <enumeration value="no"/>
-      <enumeration value="may"/>
-      <enumeration value="must"/>
-    </restriction>
-  </simpleType>
+    <element name="implementation" type="sca:Implementation" abstract="true" />
+    <complexType name="Implementation" abstract="true"/>
 
-</schema>
\ No newline at end of file
+</schema>

Added: incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd?rev=430012&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd (added)
+++ incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd Wed Aug  9 02:28:11 2006
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
+
+  Licensed 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 xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="implementation.composite" type="sca:SCAImplementation" substitutionGroup="sca:implementation"/>
+    <complexType name="SCAImplementation">
+        <complexContent>
+            <extension base="sca:Implementation">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="name" type="NCName" use="required" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Propchange: incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/xsd/sca-implementation-composite.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Modified: incubator/tuscany/cpp/sca/xsd/sca-implementation-cpp.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-implementation-cpp.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-implementation-cpp.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-implementation-cpp.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,27 +14,26 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-
-<schema	xmlns="http://www.w3.org/2001/XMLSchema" 
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-		xmlns:sdo="commonj.sdo/XML"
-		elementFormDefault="qualified">
-
-	<include schemaLocation="sca-core.xsd"/>
-
-	<element name="implementation.cpp" type="sca:CPPImplementation" substitutionGroup="sca:implementation" sdo:name="implementationCpp"/>
-	<complexType name="CPPImplementation">
-		<complexContent>
-			<extension base="sca:Implementation">
-				<sequence>
-					<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="dll" type="NCName" use="required"/>
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="implementation.cpp" type="sca:CPPImplementation" substitutionGroup="sca:implementation"/>
+    <complexType name="CPPImplementation">
+        <complexContent>
+            <extension base="sca:Implementation">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+				<attribute name="library" type="NCName" use="required"/>
+				<attribute name="path" type="NCName" use="optional"/>
                 <attribute name="header" type="NCName" use="required"/>
                 <attribute name="class" type="Name" use="optional"/>
 				<anyAttribute namespace="##any" processContents="lax"/>
 			</extension>
 		</complexContent>
 	</complexType>
-</schema>
\ No newline at end of file
+</schema>

Modified: incubator/tuscany/cpp/sca/xsd/sca-implementation-java.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-implementation-java.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-implementation-java.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-implementation-java.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,25 +14,23 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-
-<schema	xmlns="http://www.w3.org/2001/XMLSchema" 
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-		xmlns:sdo="commonj.sdo/XML"
-		elementFormDefault="qualified">
-
-	<include schemaLocation="sca-core.xsd"/>
-
-	<element name="implementation.java" type="sca:JavaImplementation" substitutionGroup="sca:implementation" sdo:name="implementationJava"/>
-	<complexType name="JavaImplementation">
-		<complexContent>
-			<extension base="sca:Implementation">
-				<sequence>
-					<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="class" type="NCName" use="required"/>
-				<anyAttribute namespace="##any" processContents="lax"/>
-			</extension>
-		</complexContent>
-	</complexType>
-</schema>
\ No newline at end of file
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="implementation.java" type="sca:JavaImplementation" substitutionGroup="sca:implementation"/>
+    <complexType name="JavaImplementation">
+        <complexContent>
+            <extension base="sca:Implementation">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="class" type="NCName" use="required" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Modified: incubator/tuscany/cpp/sca/xsd/sca-interface-cpp.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-interface-cpp.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-interface-cpp.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-interface-cpp.xsd Wed Aug  9 02:28:11 2006
@@ -1,50 +1,48 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
-
-  Licensed 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 2006 The Apache Software Foundation or its licensors, as applicable.
+    
+    Licensed 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 xmlns="http://www.w3.org/2001/XMLSchema"
-    targetNamespace="http://www.osoa.org/xmlns/sca/0.9"
-    xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-    xmlns:sdo="commonj.sdo/XML"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
     elementFormDefault="qualified">
 
-  <include schemaLocation="sca-core.xsd"/>
-
-  <element name="interface.cpp" type="sca:CPPInterface" substitutionGroup="sca:interface"
-  sdo:name="interfaceCpp"/>
-  <complexType name="CPPInterface">
-    <complexContent>
-      <extension base="sca:Interface">
-        <sequence>
-          <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-        </sequence>
-        <attribute name="header" type="NCName" use="required"/>
-        <attribute name="class" type="Name" use="required"/>
-        <attribute name="scope" type="sca:CPPScope" use="optional"/>
-        <attribute name="remotable" type="boolean" use="optional"/>
-        <anyAttribute namespace="##any" processContents="lax"/>
-      </extension>
-    </complexContent>
-  </complexType>
-
-  <simpleType name="CPPScope">
-    <restriction base="string">
-      <enumeration value="stateless"/>
-      <enumeration value="composite"/>
-    </restriction>
-  </simpleType>
-
-</schema>
\ No newline at end of file
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="interface.cpp" type="sca:CPPInterface" substitutionGroup="sca:interface"/>
+    <complexType name="CPPInterface">
+        <complexContent>
+            <extension base="sca:Interface">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="header" type="NCName" use="required" />
+                <attribute name="class" type="Name" use="required" />
+                <attribute name="callbackHeader" type="NCName" use="required" />
+                <attribute name="callbackClass" type="Name" use="required" />
+                <attribute name="scope" type="sca:CPPScope" use="optional" />
+                <attribute name="remotable" type="boolean" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+    
+    <simpleType name="CPPScope">
+        <restriction base="string">
+            <enumeration value="stateless" />
+            <enumeration value="composite" />
+        </restriction>
+    </simpleType>
+</schema>

Modified: incubator/tuscany/cpp/sca/xsd/sca-interface-java.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-interface-java.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-interface-java.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-interface-java.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,26 +14,24 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-
-<schema	xmlns="http://www.w3.org/2001/XMLSchema" 
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-		xmlns:sdo="commonj.sdo/XML"
-		elementFormDefault="qualified">
-
-	<include schemaLocation="sca-core.xsd"/>
-
-	<element name="interface.java" type="sca:JavaInterface" substitutionGroup="sca:interface" sdo:name="interfaceJava"/>
-	<complexType name="JavaInterface">
-		<complexContent>
-			<extension base="sca:Interface">
-				<sequence>
-					<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="interface" type="NCName" use="required"/>
-				<attribute name="callbackInterface" type="NCName" use="optional"/>
-				<anyAttribute namespace="##any" processContents="lax"/>
-			</extension>
-		</complexContent>
-	</complexType>
-</schema>
\ No newline at end of file
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+    
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="interface.java" type="sca:JavaInterface" substitutionGroup="sca:interface"/>
+    <complexType name="JavaInterface">
+        <complexContent>
+            <extension base="sca:Interface">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="interface" type="NCName" use="required" />
+                <attribute name="callbackInterface" type="NCName" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Modified: incubator/tuscany/cpp/sca/xsd/sca-interface-wsdl.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca-interface-wsdl.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca-interface-wsdl.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca-interface-wsdl.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,26 +14,24 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-
-<schema	xmlns="http://www.w3.org/2001/XMLSchema" 
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9"
-		xmlns:sdo="commonj.sdo/XML"
-		elementFormDefault="qualified">
-
-	<include schemaLocation="sca-core.xsd"/>
-
-	<element name="interface.wsdl" type="sca:WSDLPortType" substitutionGroup="sca:interface" sdo:name="interfaceWsdl"/>
-	<complexType name="WSDLPortType">
-		<complexContent>
-			<extension base="sca:Interface">
-				<sequence>
-					<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="interface" type="anyURI" use="required"/>
-				<attribute name="callbackInterface" type="anyURI" use="optional"/>
-				<anyAttribute namespace="##any" processContents="lax"/>
-			</extension>
-		</complexContent>
-	</complexType>
-</schema>
\ No newline at end of file
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
+    elementFormDefault="qualified">
+
+    <include schemaLocation="sca-core.xsd" />
+    
+    <element name="interface.wsdl" type="sca:WSDLPortType" substitutionGroup="sca:interface"/>
+    <complexType name="WSDLPortType">
+        <complexContent>
+            <extension base="sca:Interface">
+                <sequence>
+                    <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
+                </sequence>
+                <attribute name="interface" type="anyURI" use="required" />
+                <attribute name="callbackInterface" type="anyURI" use="optional" />
+                <anyAttribute namespace="##any" processContents="lax" />
+            </extension>
+        </complexContent>
+    </complexType>
+</schema>

Modified: incubator/tuscany/cpp/sca/xsd/sca.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/sca.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/sca.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/sca.xsd Wed Aug  9 02:28:11 2006
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-  Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
+  Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
@@ -14,21 +14,19 @@
   See the License for the specific language governing permissions and
   limitations under the License.
  -->
-
-<schema	xmlns="http://www.w3.org/2001/XMLSchema"
-		targetNamespace="http://www.osoa.org/xmlns/sca/0.9" 
-		xmlns:sca="http://www.osoa.org/xmlns/sca/0.9">
-
-	<include schemaLocation="sca-core.xsd"/>
-
-	<include schemaLocation="sca-interface-java.xsd"/>
-	<include schemaLocation="sca-interface-wsdl.xsd"/>
-	<include schemaLocation="sca-interface-cpp.xsd"/>
-
-	<include schemaLocation="sca-implementation-java.xsd"/>
-	<include schemaLocation="sca-implementation-cpp.xsd"/>
-
-	<include schemaLocation="sca-binding-webservice.xsd"/>
-	<include schemaLocation="sca-binding-sca.xsd"/>	
+<schema xmlns="http://www.w3.org/2001/XMLSchema"
+    targetNamespace="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0">
+
+    <include schemaLocation="sca-core.xsd" />
+    <include schemaLocation="sca-composite.xsd" />
+    <include schemaLocation="sca-interface-java.xsd" />
+    <include schemaLocation="sca-interface-wsdl.xsd" />
+    <include schemaLocation="sca-interface-cpp.xsd" />
+    <include schemaLocation="sca-implementation-java.xsd" />
+    <include schemaLocation="sca-implementation-composite.xsd" />
+    <include schemaLocation="sca-implementation-cpp.xsd" />
+    <include schemaLocation="sca-binding-webservice.xsd" />
+    <include schemaLocation="sca-binding-sca.xsd" />
 
 </schema>

Modified: incubator/tuscany/cpp/sca/xsd/tuscany.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/xsd/tuscany.xsd?rev=430012&r1=430011&r2=430012&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/xsd/tuscany.xsd (original)
+++ incubator/tuscany/cpp/sca/xsd/tuscany.xsd Wed Aug  9 02:28:11 2006
@@ -18,7 +18,6 @@
 <schema	xmlns="http://www.w3.org/2001/XMLSchema" 
 		targetNamespace="http://org.apache.tuscany/xmlns/cpp/1.0" 
 		xmlns:tuscany="http://org.apache.tuscany/xmlns/cpp/1.0"
-		xmlns:sdo="commonj.sdo/XML"
 		elementFormDefault="qualified">
 
   <element name="tuscany-model" type="tuscany:ModelType"/>
@@ -45,4 +44,4 @@
      <attribute name="name" type="NCName" use="required"/>
   </complexType>
 
-</schema>
\ No newline at end of file
+</schema>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org