ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r745271 [18/19] - in /ode/branches/APACHE_ODE_1.X: ./ axis2-war/src/main/webapp/ axis2-war/src/main/webapp/WEB-INF/ axis2-war/src/main/webapp/WEB-INF/classes/ axis2-war/src/main/webapp/WEB-INF/conf.hib-derby/ axis2-war/src/main/webapp/WEB-I...
Date Tue, 17 Feb 2009 22:06:26 GMT
Modified: ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Sep-06-2005.xsd
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Sep-06-2005.xsd?rev=745271&r1=745270&r2=745271&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Sep-06-2005.xsd (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_main-draft-Sep-06-2005.xsd Tue Feb 17 22:06:18 2009
@@ -19,768 +19,768 @@
   -->
 
 <schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" elementFormDefault="qualified">
-	<annotation>
-		<documentation>
-			BPEL4WS Schema
-			2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
-			2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
-			2004-03-24: YIU-OSS: Alex Yiu: fixed a number of syntax typos (e.g remove complexContent)
-			2004-06-26: YIU-OSS: Alex Yiu: Using XMLSpy to do a re-indent
-			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 94 resolution by merging tActivityContainer and tActivityOrCompensateContainer
-			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 75 resolution: by allowing partnerLinks declaration within a scope
-			2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 37 resolution: "initiate" attribute becomes a tri-value switch instead of a boolean switch
-			2004-07-19: YIU-OSS: Alex Yiu: Adding "service-ref" element and its definition for issue 34
-			2004-07-21: YIU-OSS: Alex Yiu: Applying Issue 43 and 44
-			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 146: Making tVariable Extensible
-			2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 149: Adding formal documentation support to BPEL 
-			2004-09-01: YIU-OSS: Alex Yiu: A bunch of misc cleanup for Issue 13
-			2004-10-20: YIU-OSS: Alex Yiu: Fixing schema problems discovered by Dieter Koenig
-			2004-10-20: YIU-OSS: Alex Yiu: Applying Issue 123
-			2004-10-20: YIU-OSS: Alex Yiu: Applying some non-normative changes suggested by Paul Brown 
-			2004-11-30: YIU-OSS: Alex Yiu: Applying Issue 152 and 165
-			2004-12-02: YIU-OSS: Alex Yiu: Applying Issue 135 (TerminationHandler changes from Satish)
-			2005-04-02: curbera-oss: Paco Curbera: Applying Issue 93
-			2005-04-24: curbera-oss: Paco Curbera: Applying Issue 112
-			2005-05-01: YIU-OSS: Alex Yiu: Fixing XSD syntax typo for Issue 112
-			2005-05-02: YIU-OSS: Alex Yiu: Reapplying XSD syntax changes lost during CVS Migration:
-					(a) Moving terminationHandler from process level to scope level
-					(b) removing compensationHandler from the process level
-					(c) renaming an attribute of "scope" from "variableAccessSerializable" to "isolated"
-					(d) removing "enableInstanceCompensation" attribute from XSD
-					(e) removing "partner" and "partners" element
-			2005-05-06: Rev 1.18: Assaf Arkin: Applying Issue 160, added validate activity, validate attribute to assign, simple type tNCNames
-			2005-06-24: Rev 1.19: YIU-OSS: Alex Yiu: fixing minor typo in the Rev 1.18
-			2005-06-28: Rev 1.20: YIU-OSS: Alex Yiu: applying Issue 140 - adding "repeatUntil" activity
-			2005-07-25: Rev 1.21: YIU-OSS: Alex Yiu: Applying Issue 103, 199, 203 and Issue 196
-			2005-08-14: Rev 1.22: curbera-oss: Paco Curbera: Applying Issue 139.1, 147
-			2005-08-20: Rev 1.23: assaf-oss: Assaf Arkin: fixed issues 202, 206, 209, 214 and 132. (this comment is added by alex)
-			2005-08-29: Rev 1.24: YIU-OSS: Alex Yiu: rectify the definition of "forEach" (issue 147) according to the issue 204 by adding "scope" (note: we still need to apply the rest of issue 204.  
-			2005-08-30: Rev 1.25: YIU-OSS: Alex Yiu: 
-				Apply XSD changes for Issue 190, Issue 136, Issue 213. 
-				Apply XSD Changes for Issue 111 and 11.1
-				Apply XSD Changes for Issue 192 by merging wsbpel_msgprop.xsd into this wsbpel_main.xsd
-				XSD Changes in Issue 145 was missing. Re-apply it here. 
-
-		</documentation>
-	</annotation>
-	<import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
-	<import namespace="http://www.w3.org/XML/1998/namespace"  schemaLocation="xml.xsd" />
-	<element name="documentation" id="documentation">
-		<complexType mixed="true">
-			<sequence minOccurs="0" maxOccurs="unbounded">
-				<any processContents="lax"/>
-			</sequence>
-			<attribute name="source" type="anyURI"/>
-			<attribute ref="xml:lang"/>
-		</complexType>
-	</element>
-	<complexType name="tExtensibleElements">
-		<annotation>
-			<documentation>
-		This type is extended by other component types
-		to allow elements and attributes from
-		other namespaces to be added.
-	   </documentation>
-		</annotation>
-		<sequence>
-			<element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded" />
-			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</sequence>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-	<element name="process" type="bpws:tProcess"/>
-	<complexType name="tProcess">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="import" type="bpws:tImport" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0"/>
-					<element name="variables" type="bpws:tVariables" minOccurs="0"/>
-					<element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0"/>
-					<element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0"/>
-					<element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0"/>
-					<group ref="bpws:activity"/>
-				</sequence>
-				<attribute name="name" type="NCName" use="required"/>
-				<attribute name="targetNamespace" type="anyURI" use="required"/>
-				<attribute name="queryLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
-				<attribute name="expressionLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
-				<attribute name="suppressJoinFailure" type="bpws:tBoolean" default="no"/>
-				<attribute name="abstractProcess" type="bpws:tBoolean" default="no"/>
-				<attribute name="exitOnStandardFault" type="bpws:tBoolean" default="no"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<group name="activity">
-		<annotation>
-			<documentation>
-				Addtional constraint:
-				 - rethrow activity can be used ONLY within a fault handler 
-				   (i.e. "catch" element of bpws:tCatch type and 
-				   "catchAll" element of bpws:tActivityOrCompensateContainer type )
-				 - compensate activity can be used ONLY within a fault handler or a compensation handler 
-				   (i.e. bpws:tActivityOrCompensateContainer type)
-			</documentation>
-		</annotation>
-		<choice>
-			<element ref="bpws:empty"/>
-			<element ref="bpws:invoke"/>
-			<element ref="bpws:receive"/>
-			<element ref="bpws:reply"/>
-			<element ref="bpws:assign"/>
-			<element ref="bpws:validate"/>
-			<element ref="bpws:wait"/>
-			<element ref="bpws:throw"/>
-			<element ref="bpws:rethrow"/>
-			<element ref="bpws:exit"/>
-			<element ref="bpws:flow"/>
-			<element ref="bpws:if"/> 
-			<element ref="bpws:while"/>
-			<element ref="bpws:repeatUntil"/>
-			<element ref="bpws:sequence"/>
-			<element ref="bpws:pick"/>
-			<element ref="bpws:scope"/>
-			<element ref="bpws:compensate"/>
-			<element ref="bpws:forEach"/>
- 			<element ref="bpws:extensionActivity"/> 
-		</choice>
-	</group>
-
-	<element name="empty" type="bpws:tEmpty"/>
-	<element name="invoke" type="bpws:tInvoke"/>
-	<element name="receive" type="bpws:tReceive"/>
-	<element name="reply" type="bpws:tReply"/>
-	<element name="assign" type="bpws:tAssign"/>
-	<element name="validate" type="bpws:tValidate"/>
-	<element name="wait" type="bpws:tWait"/>
-	<element name="throw" type="bpws:tThrow"/>
-	<element name="rethrow" type="bpws:tRethrow"/>
-	<element name="exit" type="bpws:tTerminate"/>
-	<element name="flow" type="bpws:tFlow"/>
-	<element name="if" type="bpws:tIf" />
-	<element name="while" type="bpws:tWhile"/>
-	<element name="repeatUntil" type="bpws:tRepeatUntil"/>
-	<element name="sequence" type="bpws:tSequence"/>
-	<element name="pick" type="bpws:tPick"/>
-	<element name="scope" type="bpws:tScope"/>
-	<element name="compensate" type="bpws:tCompensate"/>
-	<element name="forEach" type="bpws:tForEach"/>
-	<element name="extensionActivity" type="bpws:tExtensionActivity"/> 
-
-	<complexType name="tImport">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="namespace" type="anyURI" use="required"/>
-				<attribute name="location" type="anyURI" use="required"/>
-				<attribute name="importType" type="bpws:importedURI" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tPartnerLinks">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="partnerLink" type="bpws:tPartnerLink" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tPartnerLink">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="name" type="NCName" use="required"/>
-				<attribute name="partnerLinkType" type="QName" use="required"/>
-				<attribute name="myRole" type="NCName"/>
-				<attribute name="partnerRole" type="NCName"/>
-				<attribute name="initializePartnerRole" type="bpws:tBoolean" default="no"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tFaultHandlers">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="catch" type="bpws:tCatch" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="catchAll" type="bpws:tActivityOrCompensateContainer" minOccurs="0"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tCatch">
-		<complexContent>
-			<extension base="bpws:tActivityOrCompensateContainer">
-				<attribute name="faultName" type="QName"/>
-				<attribute name="faultVariable" type="NCName"/>
-				<attribute name="faultMessageType" type="QName"/>
-				<attribute name="faultElement" type="QName"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tActivityContainer">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<group ref="bpws:activity"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tActivityOrCompensateContainer">
-		<annotation>
-			<documentation>
-				An empty extension from bpws:tActivityContainer to denote where the compensate activity is allowed
-			</documentation>
-		</annotation>
-		<complexContent>
-			<extension base="bpws:tActivityContainer"/>
-		</complexContent>
-	</complexType>
-	<complexType name="tEventHandlers">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="onEvent" type="bpws:tOnEvent" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="onAlarm" type="bpws:tOnAlarmEvent" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tOnEvent">
-		<complexContent>
-			<extension base="bpws:tOnMsgCommon">				
-				<sequence>
-					<group ref="bpws:activity"/>
-				</sequence>
-				<attribute name="messageType" type="QName" use="required"/>
-				<attribute name="variable" type="NCName" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tOnMessage">
-		<complexContent>
-			<extension base="bpws:tOnMsgCommon">
-				<sequence>
-					<group ref="bpws:activity"/>
-				</sequence>
-				<attribute name="variable" type="NCName" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tOnMsgCommon">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
-				</sequence>
-				<attribute name="partnerLink" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="optional"/>
-				<attribute name="operation" type="NCName" use="required"/>
-				<attribute name="messageExchange" type="NCName" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tOnAlarmCommon">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-					<sequence>
-						<choice>
-							<element name="for" type="bpws:tDuration-expr"/>
-							<element name="until" type="bpws:tDeadline-expr"/>
-						</choice>
-					</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tOnAlarmPick">
-		<complexContent>
-			<extension base="bpws:tOnAlarmCommon">
-				<sequence>
-					<group ref="bpws:activity"/> 
-				</sequence> 
-			</extension> 
-		</complexContent> 
-	</complexType> 
-	<complexType name="tOnAlarmEvent">
-		<complexContent>
-			<extension base="bpws:tOnAlarmCommon">
-				<sequence>
-					<element name="repeatEvery" type="bpws:tDuration-expr" minOccurs="0"/>
-					<group ref="bpws:activity"/> 
-				</sequence> 
-			</extension> 
-		</complexContent>
-	</complexType> 
-	<complexType name="tCompensationHandler">
-		<complexContent>
-			<extension base="bpws:tActivityOrCompensateContainer"/>
-		</complexContent>
-	</complexType>
-	<complexType name="tTerminationHandler">
-		<complexContent>
-			<extension base="bpws:tActivityOrCompensateContainer"/>
-		</complexContent>
-    </complexType>
-	<complexType name="tVariables">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="variable" type="bpws:tVariable" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tVariable">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element ref="bpws:from" minOccurs="0"/>
-				</sequence>
-				<attribute name="name" type="NCName" use="required"/>
-				<attribute name="messageType" type="QName" use="optional"/>
-				<attribute name="type" type="QName" use="optional"/>
-				<attribute name="element" type="QName" use="optional"/>
-			</extension>
-		</complexContent>	
-	</complexType>	
-	<complexType name="tCorrelationSets">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="correlationSet" type="bpws:tCorrelationSet" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tCorrelationSet">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="properties" use="required">
-					<simpleType>
-						<list itemType="QName"/>
-					</simpleType>
-				</attribute>
-				<attribute name="name" type="NCName" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tActivity">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="targets" type="bpws:tTargets" minOccurs="0"/>
-					<element name="sources" type="bpws:tSources" minOccurs="0"/>
-				</sequence>
-				<attribute name="name" type="NCName"/>
-				<attribute name="suppressJoinFailure" type="bpws:tBoolean" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tTargets">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="joinCondition" type="bpws:tCondition" minOccurs="0"/>
-					<element name="target" type="bpws:tTarget" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tSources">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="source" type="bpws:tSource" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tSource">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="transitionCondition" type="bpws:tCondition" minOccurs="0"/>
-				</sequence>
-				<attribute name="linkName" type="NCName" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tTarget">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="linkName" type="NCName" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tEmpty">
-		<complexContent>
-			<extension base="bpws:tActivity"/>
-		</complexContent>
-	</complexType>
-	<complexType name="tCorrelations">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="correlation" type="bpws:tCorrelation" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tCorrelation">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="set" type="NCName" use="required"/>
-				<attribute name="initiate" default="no">
-					<simpleType>
-						<restriction base="string">
-							<enumeration value="yes"/>
-							<enumeration value="join"/>
-							<enumeration value="no"/>
-						</restriction>
-					</simpleType>
-				</attribute>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tCorrelationsWithPattern">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="correlation" type="bpws:tCorrelationWithPattern" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tCorrelationWithPattern">
-		<complexContent>
-			<extension base="bpws:tCorrelation">
-				<attribute name="pattern">
-					<simpleType>
-						<restriction base="string">
-							<enumeration value="in"/>
-							<enumeration value="out"/>
-							<enumeration value="out-in"/>
-
-							<!-- mbs: added the following for ODEI-114 -->
-							<enumeration value="request"/>
-							<enumeration value="response"/>
-							<enumeration value="request-response"/>
-							
-						</restriction>
-					</simpleType>
-				</attribute>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tInvoke">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="correlations" type="bpws:tCorrelationsWithPattern" minOccurs="0"/>
-					<element name="catch" type="bpws:tCatch" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="catchAll" type="bpws:tActivityOrCompensateContainer" minOccurs="0"/>
-					<element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0"/>
-					<element name="toPart" type="bpws:tToPart" minOccurs="0" maxOccurs="unbounded"/>
-					<element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="partnerLink" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="optional"/>
-				<attribute name="operation" type="NCName" use="required"/>
-				<attribute name="inputVariable" type="NCName" use="optional"/>
-				<attribute name="outputVariable" type="NCName" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tToPart">
-			<attribute name="part" type="NCName" use="required"/>
-			<attribute name="fromVariable" type="NCName" use="required"/>
-	</complexType>
-	<complexType name="tFromPart">
-			<attribute name="part" type="NCName" use="required"/>
-			<attribute name="toVariable" type="NCName" use="required"/>
-	</complexType>
-	<complexType name="tReceive">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
-					<element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="partnerLink" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="optional"/>
-				<attribute name="operation" type="NCName" use="required"/>
-				<attribute name="variable" type="NCName" use="optional"/>
-				<attribute name="createInstance" type="bpws:tBoolean" default="no"/>
-				<attribute name="messageExchange" type="NCName" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tReply">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
-					<element name="toPart" type="bpws:tToPart" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="partnerLink" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="optional"/>
-				<attribute name="operation" type="NCName" use="required"/>
-				<attribute name="variable" type="NCName" use="optional"/>
-				<attribute name="faultName" type="QName"/>
-				<attribute name="messageExchange" type="NCName" use="optional"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tAssign">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<choice maxOccurs="unbounded"> 
-						<element ref="bpws:copy"/>
-						<element ref="bpws:extensibleAssign"/>
-					</choice> 
-				</sequence>
-				<attribute name="validate" type="bpws:tBoolean" use="optional" default="no"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<element name="copy" type="bpws:tCopy" />
-	<element name="extensibleAssign" type="bpws:tExtensibleAssign" /> 
-
-	<complexType name="tValidate">
-		<complexContent>
-			<extension base="bpws:tActivity">
-			    <attribute name="variables" type="bpws:tNCNames" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-
-	<complexType name="tCopy">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element ref="bpws:from"/>
-					<element ref="bpws:to"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tExtensibleAssign">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements" />
-		</complexContent>
-	</complexType> 
-
-	<element name="from" type="bpws:tFrom"/>
-	<complexType name="tFrom" mixed="true">
-		<sequence>
-			<element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded"/>
-			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-			<choice minOccurs="0">
-				<element name="literal">
-					<complexType mixed="true">
-						<sequence>
-							<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-						</sequence>
-					</complexType>
-				</element>
-			</choice>
-		</sequence>
-		<attribute name="expressionLanguage" type="anyURI"/>
-		<attribute name="variable" type="NCName"/>
-		<attribute name="part" type="NCName"/>
-		<attribute name="property" type="QName"/>
-		<attribute name="partnerLink" type="NCName"/>
-		<attribute name="endpointReference" type="bpws:tRoles"/>
-		<attribute name="opaque" type="bpws:tBoolean"/>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-
-	<element name="to" type="bpws:tTo" />
-	<complexType name="tTo" mixed="true">
-		<sequence>
-			<element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded"/>
-			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</sequence>
-		<attribute name="queryLanguage" type="anyURI"/>
-		<attribute name="variable" type="NCName"/>
-		<attribute name="part" type="NCName"/>
-		<attribute name="property" type="QName"/>
-		<attribute name="partnerLink" type="NCName"/>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-
-
-	<complexType name="tWait">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<choice>
-					<element name="for" type="bpws:tDuration-expr"/>
-					<element name="until" type="bpws:tDeadline-expr"/>
-				</choice>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tThrow">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<attribute name="faultName" type="QName" use="required"/>
-				<attribute name="faultVariable" type="NCName"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tRethrow">
-		<complexContent>
-			<extension base="bpws:tActivity"/>
-		</complexContent>
-		<!-- Empty -->
-	</complexType>
-	<complexType name="tCompensate">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<attribute name="scope" type="NCName"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tTerminate">
-		<complexContent>
-			<extension base="bpws:tActivity"/>
-		</complexContent>
-	</complexType>
-	<complexType name="tFlow">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="links" type="bpws:tLinks" minOccurs="0"/>
-					<group ref="bpws:activity" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tLinks">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<sequence>
-					<element name="link" type="bpws:tLink" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tLink">
-		<complexContent>
-			<extension base="bpws:tExtensibleElements">
-				<attribute name="name" type="NCName" use="required"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tIf">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="condition" type="bpws:tBoolean-expr" />
-					<element name="then" type="bpws:tActivityContainer" /> 
-					<element name="elseif" minOccurs="0" maxOccurs="unbounded" >
-						<complexType>
-							<complexContent>
-								<extension base="bpws:tExtensibleElements" >
-									<sequence>
-										<element name="condition" type="bpws:tBoolean-expr" />
-										<group ref="bpws:activity" /> 
-									</sequence> 
-								</extension>
-							</complexContent>
-						</complexType>
-					</element>
-					<element name="else" minOccurs="0" type="bpws:tActivityContainer"/> 
-				</sequence> 
-			</extension>
-		</complexContent> 
-	</complexType>
-	<complexType name="tWhile">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="condition" type="bpws:tBoolean-expr" />
-					<group ref="bpws:activity"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tRepeatUntil">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<group ref="bpws:activity"/>
-					<element name="condition" type="bpws:tBoolean-expr" />
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-
-	<complexType name="tSequence">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<group ref="bpws:activity" maxOccurs="unbounded"/>
-				</sequence>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tPick">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="onMessage" type="bpws:tOnMessage" maxOccurs="unbounded"/>
-					<element name="onAlarm" type="bpws:tOnAlarmPick" minOccurs="0" maxOccurs="unbounded"/>
-				</sequence>
-				<attribute name="createInstance" type="bpws:tBoolean" default="no"/>
-			</extension>
-		</complexContent>
-	</complexType>
-	<complexType name="tScope">
-		<complexContent>
-			<extension base="bpws:tActivity">
-				<sequence>
-					<element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0"/>
-					<element name="variables" type="bpws:tVariables" minOccurs="0"/>
-					<element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0"/>
-					<element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0"/>
-					<element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0"/>
-					<element name="terminationHandler" type="bpws:tTerminationHandler" minOccurs="0"/>
-					<element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0"/>
-					<group ref="bpws:activity"/>
-				</sequence>
-				<attribute name="isolated" type="bpws:tBoolean" default="no"/>
-				<attribute name="exitOnStandardFault" type="bpws:tBoolean" default="no"/>
-			</extension>
-		</complexContent>
-	</complexType>
-
-	<complexType name="tQuery" mixed="true">
-		<sequence>
-			<any minOccurs="0" maxOccurs="unbounded"  processContents="lax"/>
-		</sequence>
-		<attribute name="queryLanguage" type="anyURI"/>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-
-
-	<complexType name="tExpression" mixed="true">
-		<sequence>
-			<any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
-		</sequence>
-		<attribute name="expressionLanguage" type="anyURI"/>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-
-	<complexType name="tCondition">
-		<complexContent mixed="true">
-			<extension base="bpws:tExpression" />
-		</complexContent>
-	</complexType>
+    <annotation>
+        <documentation>
+            BPEL4WS Schema
+            2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
+            2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
+            2004-03-24: YIU-OSS: Alex Yiu: fixed a number of syntax typos (e.g remove complexContent)
+            2004-06-26: YIU-OSS: Alex Yiu: Using XMLSpy to do a re-indent
+            2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 94 resolution by merging tActivityContainer and tActivityOrCompensateContainer
+            2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 75 resolution: by allowing partnerLinks declaration within a scope
+            2004-06-28: YIU-OSS: Alex Yiu: Applying Issue 37 resolution: "initiate" attribute becomes a tri-value switch instead of a boolean switch
+            2004-07-19: YIU-OSS: Alex Yiu: Adding "service-ref" element and its definition for issue 34
+            2004-07-21: YIU-OSS: Alex Yiu: Applying Issue 43 and 44
+            2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 146: Making tVariable Extensible
+            2004-09-01: YIU-OSS: Alex Yiu: Applying Issue 149: Adding formal documentation support to BPEL 
+            2004-09-01: YIU-OSS: Alex Yiu: A bunch of misc cleanup for Issue 13
+            2004-10-20: YIU-OSS: Alex Yiu: Fixing schema problems discovered by Dieter Koenig
+            2004-10-20: YIU-OSS: Alex Yiu: Applying Issue 123
+            2004-10-20: YIU-OSS: Alex Yiu: Applying some non-normative changes suggested by Paul Brown 
+            2004-11-30: YIU-OSS: Alex Yiu: Applying Issue 152 and 165
+            2004-12-02: YIU-OSS: Alex Yiu: Applying Issue 135 (TerminationHandler changes from Satish)
+            2005-04-02: curbera-oss: Paco Curbera: Applying Issue 93
+            2005-04-24: curbera-oss: Paco Curbera: Applying Issue 112
+            2005-05-01: YIU-OSS: Alex Yiu: Fixing XSD syntax typo for Issue 112
+            2005-05-02: YIU-OSS: Alex Yiu: Reapplying XSD syntax changes lost during CVS Migration:
+                    (a) Moving terminationHandler from process level to scope level
+                    (b) removing compensationHandler from the process level
+                    (c) renaming an attribute of "scope" from "variableAccessSerializable" to "isolated"
+                    (d) removing "enableInstanceCompensation" attribute from XSD
+                    (e) removing "partner" and "partners" element
+            2005-05-06: Rev 1.18: Assaf Arkin: Applying Issue 160, added validate activity, validate attribute to assign, simple type tNCNames
+            2005-06-24: Rev 1.19: YIU-OSS: Alex Yiu: fixing minor typo in the Rev 1.18
+            2005-06-28: Rev 1.20: YIU-OSS: Alex Yiu: applying Issue 140 - adding "repeatUntil" activity
+            2005-07-25: Rev 1.21: YIU-OSS: Alex Yiu: Applying Issue 103, 199, 203 and Issue 196
+            2005-08-14: Rev 1.22: curbera-oss: Paco Curbera: Applying Issue 139.1, 147
+            2005-08-20: Rev 1.23: assaf-oss: Assaf Arkin: fixed issues 202, 206, 209, 214 and 132. (this comment is added by alex)
+            2005-08-29: Rev 1.24: YIU-OSS: Alex Yiu: rectify the definition of "forEach" (issue 147) according to the issue 204 by adding "scope" (note: we still need to apply the rest of issue 204.  
+            2005-08-30: Rev 1.25: YIU-OSS: Alex Yiu: 
+                Apply XSD changes for Issue 190, Issue 136, Issue 213. 
+                Apply XSD Changes for Issue 111 and 11.1
+                Apply XSD Changes for Issue 192 by merging wsbpel_msgprop.xsd into this wsbpel_main.xsd
+                XSD Changes in Issue 145 was missing. Re-apply it here. 
+
+        </documentation>
+    </annotation>
+    <import namespace="http://schemas.xmlsoap.org/wsdl/" schemaLocation="wsdl.xsd"/>
+    <import namespace="http://www.w3.org/XML/1998/namespace"  schemaLocation="xml.xsd" />
+    <element name="documentation" id="documentation">
+        <complexType mixed="true">
+            <sequence minOccurs="0" maxOccurs="unbounded">
+                <any processContents="lax"/>
+            </sequence>
+            <attribute name="source" type="anyURI"/>
+            <attribute ref="xml:lang"/>
+        </complexType>
+    </element>
+    <complexType name="tExtensibleElements">
+        <annotation>
+            <documentation>
+        This type is extended by other component types
+        to allow elements and attributes from
+        other namespaces to be added.
+       </documentation>
+        </annotation>
+        <sequence>
+            <element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+        </sequence>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
+    <element name="process" type="bpws:tProcess"/>
+    <complexType name="tProcess">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="import" type="bpws:tImport" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0"/>
+                    <element name="variables" type="bpws:tVariables" minOccurs="0"/>
+                    <element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0"/>
+                    <element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0"/>
+                    <element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0"/>
+                    <group ref="bpws:activity"/>
+                </sequence>
+                <attribute name="name" type="NCName" use="required"/>
+                <attribute name="targetNamespace" type="anyURI" use="required"/>
+                <attribute name="queryLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
+                <attribute name="expressionLanguage" type="anyURI" default="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"/>
+                <attribute name="suppressJoinFailure" type="bpws:tBoolean" default="no"/>
+                <attribute name="abstractProcess" type="bpws:tBoolean" default="no"/>
+                <attribute name="exitOnStandardFault" type="bpws:tBoolean" default="no"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <group name="activity">
+        <annotation>
+            <documentation>
+                Addtional constraint:
+                 - rethrow activity can be used ONLY within a fault handler 
+                   (i.e. "catch" element of bpws:tCatch type and 
+                   "catchAll" element of bpws:tActivityOrCompensateContainer type )
+                 - compensate activity can be used ONLY within a fault handler or a compensation handler 
+                   (i.e. bpws:tActivityOrCompensateContainer type)
+            </documentation>
+        </annotation>
+        <choice>
+            <element ref="bpws:empty"/>
+            <element ref="bpws:invoke"/>
+            <element ref="bpws:receive"/>
+            <element ref="bpws:reply"/>
+            <element ref="bpws:assign"/>
+            <element ref="bpws:validate"/>
+            <element ref="bpws:wait"/>
+            <element ref="bpws:throw"/>
+            <element ref="bpws:rethrow"/>
+            <element ref="bpws:exit"/>
+            <element ref="bpws:flow"/>
+            <element ref="bpws:if"/> 
+            <element ref="bpws:while"/>
+            <element ref="bpws:repeatUntil"/>
+            <element ref="bpws:sequence"/>
+            <element ref="bpws:pick"/>
+            <element ref="bpws:scope"/>
+            <element ref="bpws:compensate"/>
+            <element ref="bpws:forEach"/>
+            <element ref="bpws:extensionActivity"/> 
+        </choice>
+    </group>
+
+    <element name="empty" type="bpws:tEmpty"/>
+    <element name="invoke" type="bpws:tInvoke"/>
+    <element name="receive" type="bpws:tReceive"/>
+    <element name="reply" type="bpws:tReply"/>
+    <element name="assign" type="bpws:tAssign"/>
+    <element name="validate" type="bpws:tValidate"/>
+    <element name="wait" type="bpws:tWait"/>
+    <element name="throw" type="bpws:tThrow"/>
+    <element name="rethrow" type="bpws:tRethrow"/>
+    <element name="exit" type="bpws:tTerminate"/>
+    <element name="flow" type="bpws:tFlow"/>
+    <element name="if" type="bpws:tIf" />
+    <element name="while" type="bpws:tWhile"/>
+    <element name="repeatUntil" type="bpws:tRepeatUntil"/>
+    <element name="sequence" type="bpws:tSequence"/>
+    <element name="pick" type="bpws:tPick"/>
+    <element name="scope" type="bpws:tScope"/>
+    <element name="compensate" type="bpws:tCompensate"/>
+    <element name="forEach" type="bpws:tForEach"/>
+    <element name="extensionActivity" type="bpws:tExtensionActivity"/> 
+
+    <complexType name="tImport">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="namespace" type="anyURI" use="required"/>
+                <attribute name="location" type="anyURI" use="required"/>
+                <attribute name="importType" type="bpws:importedURI" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tPartnerLinks">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="partnerLink" type="bpws:tPartnerLink" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tPartnerLink">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="name" type="NCName" use="required"/>
+                <attribute name="partnerLinkType" type="QName" use="required"/>
+                <attribute name="myRole" type="NCName"/>
+                <attribute name="partnerRole" type="NCName"/>
+                <attribute name="initializePartnerRole" type="bpws:tBoolean" default="no"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tFaultHandlers">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="catch" type="bpws:tCatch" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="catchAll" type="bpws:tActivityOrCompensateContainer" minOccurs="0"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tCatch">
+        <complexContent>
+            <extension base="bpws:tActivityOrCompensateContainer">
+                <attribute name="faultName" type="QName"/>
+                <attribute name="faultVariable" type="NCName"/>
+                <attribute name="faultMessageType" type="QName"/>
+                <attribute name="faultElement" type="QName"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tActivityContainer">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <group ref="bpws:activity"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tActivityOrCompensateContainer">
+        <annotation>
+            <documentation>
+                An empty extension from bpws:tActivityContainer to denote where the compensate activity is allowed
+            </documentation>
+        </annotation>
+        <complexContent>
+            <extension base="bpws:tActivityContainer"/>
+        </complexContent>
+    </complexType>
+    <complexType name="tEventHandlers">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="onEvent" type="bpws:tOnEvent" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="onAlarm" type="bpws:tOnAlarmEvent" minOccurs="0" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tOnEvent">
+        <complexContent>
+            <extension base="bpws:tOnMsgCommon">                
+                <sequence>
+                    <group ref="bpws:activity"/>
+                </sequence>
+                <attribute name="messageType" type="QName" use="required"/>
+                <attribute name="variable" type="NCName" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tOnMessage">
+        <complexContent>
+            <extension base="bpws:tOnMsgCommon">
+                <sequence>
+                    <group ref="bpws:activity"/>
+                </sequence>
+                <attribute name="variable" type="NCName" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tOnMsgCommon">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
+                </sequence>
+                <attribute name="partnerLink" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="optional"/>
+                <attribute name="operation" type="NCName" use="required"/>
+                <attribute name="messageExchange" type="NCName" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tOnAlarmCommon">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                    <sequence>
+                        <choice>
+                            <element name="for" type="bpws:tDuration-expr"/>
+                            <element name="until" type="bpws:tDeadline-expr"/>
+                        </choice>
+                    </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tOnAlarmPick">
+        <complexContent>
+            <extension base="bpws:tOnAlarmCommon">
+                <sequence>
+                    <group ref="bpws:activity"/> 
+                </sequence> 
+            </extension> 
+        </complexContent> 
+    </complexType> 
+    <complexType name="tOnAlarmEvent">
+        <complexContent>
+            <extension base="bpws:tOnAlarmCommon">
+                <sequence>
+                    <element name="repeatEvery" type="bpws:tDuration-expr" minOccurs="0"/>
+                    <group ref="bpws:activity"/> 
+                </sequence> 
+            </extension> 
+        </complexContent>
+    </complexType> 
+    <complexType name="tCompensationHandler">
+        <complexContent>
+            <extension base="bpws:tActivityOrCompensateContainer"/>
+        </complexContent>
+    </complexType>
+    <complexType name="tTerminationHandler">
+        <complexContent>
+            <extension base="bpws:tActivityOrCompensateContainer"/>
+        </complexContent>
+    </complexType>
+    <complexType name="tVariables">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="variable" type="bpws:tVariable" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tVariable">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element ref="bpws:from" minOccurs="0"/>
+                </sequence>
+                <attribute name="name" type="NCName" use="required"/>
+                <attribute name="messageType" type="QName" use="optional"/>
+                <attribute name="type" type="QName" use="optional"/>
+                <attribute name="element" type="QName" use="optional"/>
+            </extension>
+        </complexContent>   
+    </complexType>  
+    <complexType name="tCorrelationSets">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="correlationSet" type="bpws:tCorrelationSet" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tCorrelationSet">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="properties" use="required">
+                    <simpleType>
+                        <list itemType="QName"/>
+                    </simpleType>
+                </attribute>
+                <attribute name="name" type="NCName" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tActivity">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="targets" type="bpws:tTargets" minOccurs="0"/>
+                    <element name="sources" type="bpws:tSources" minOccurs="0"/>
+                </sequence>
+                <attribute name="name" type="NCName"/>
+                <attribute name="suppressJoinFailure" type="bpws:tBoolean" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tTargets">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="joinCondition" type="bpws:tCondition" minOccurs="0"/>
+                    <element name="target" type="bpws:tTarget" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tSources">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="source" type="bpws:tSource" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tSource">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="transitionCondition" type="bpws:tCondition" minOccurs="0"/>
+                </sequence>
+                <attribute name="linkName" type="NCName" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tTarget">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="linkName" type="NCName" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tEmpty">
+        <complexContent>
+            <extension base="bpws:tActivity"/>
+        </complexContent>
+    </complexType>
+    <complexType name="tCorrelations">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="correlation" type="bpws:tCorrelation" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tCorrelation">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="set" type="NCName" use="required"/>
+                <attribute name="initiate" default="no">
+                    <simpleType>
+                        <restriction base="string">
+                            <enumeration value="yes"/>
+                            <enumeration value="join"/>
+                            <enumeration value="no"/>
+                        </restriction>
+                    </simpleType>
+                </attribute>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tCorrelationsWithPattern">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="correlation" type="bpws:tCorrelationWithPattern" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tCorrelationWithPattern">
+        <complexContent>
+            <extension base="bpws:tCorrelation">
+                <attribute name="pattern">
+                    <simpleType>
+                        <restriction base="string">
+                            <enumeration value="in"/>
+                            <enumeration value="out"/>
+                            <enumeration value="out-in"/>
+
+                            <!-- mbs: added the following for ODEI-114 -->
+                            <enumeration value="request"/>
+                            <enumeration value="response"/>
+                            <enumeration value="request-response"/>
+                            
+                        </restriction>
+                    </simpleType>
+                </attribute>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tInvoke">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="correlations" type="bpws:tCorrelationsWithPattern" minOccurs="0"/>
+                    <element name="catch" type="bpws:tCatch" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="catchAll" type="bpws:tActivityOrCompensateContainer" minOccurs="0"/>
+                    <element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0"/>
+                    <element name="toPart" type="bpws:tToPart" minOccurs="0" maxOccurs="unbounded"/>
+                    <element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
+                </sequence>
+                <attribute name="partnerLink" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="optional"/>
+                <attribute name="operation" type="NCName" use="required"/>
+                <attribute name="inputVariable" type="NCName" use="optional"/>
+                <attribute name="outputVariable" type="NCName" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tToPart">
+            <attribute name="part" type="NCName" use="required"/>
+            <attribute name="fromVariable" type="NCName" use="required"/>
+    </complexType>
+    <complexType name="tFromPart">
+            <attribute name="part" type="NCName" use="required"/>
+            <attribute name="toVariable" type="NCName" use="required"/>
+    </complexType>
+    <complexType name="tReceive">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
+                    <element name="fromPart" type="bpws:tFromPart" minOccurs="0" maxOccurs="unbounded"/>
+                </sequence>
+                <attribute name="partnerLink" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="optional"/>
+                <attribute name="operation" type="NCName" use="required"/>
+                <attribute name="variable" type="NCName" use="optional"/>
+                <attribute name="createInstance" type="bpws:tBoolean" default="no"/>
+                <attribute name="messageExchange" type="NCName" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tReply">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="correlations" type="bpws:tCorrelations" minOccurs="0"/>
+                    <element name="toPart" type="bpws:tToPart" minOccurs="0" maxOccurs="unbounded"/>
+                </sequence>
+                <attribute name="partnerLink" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="optional"/>
+                <attribute name="operation" type="NCName" use="required"/>
+                <attribute name="variable" type="NCName" use="optional"/>
+                <attribute name="faultName" type="QName"/>
+                <attribute name="messageExchange" type="NCName" use="optional"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tAssign">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <choice maxOccurs="unbounded"> 
+                        <element ref="bpws:copy"/>
+                        <element ref="bpws:extensibleAssign"/>
+                    </choice> 
+                </sequence>
+                <attribute name="validate" type="bpws:tBoolean" use="optional" default="no"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <element name="copy" type="bpws:tCopy" />
+    <element name="extensibleAssign" type="bpws:tExtensibleAssign" /> 
+
+    <complexType name="tValidate">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <attribute name="variables" type="bpws:tNCNames" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <complexType name="tCopy">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element ref="bpws:from"/>
+                    <element ref="bpws:to"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tExtensibleAssign">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements" />
+        </complexContent>
+    </complexType> 
+
+    <element name="from" type="bpws:tFrom"/>
+    <complexType name="tFrom" mixed="true">
+        <sequence>
+            <element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded"/>
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+            <choice minOccurs="0">
+                <element name="literal">
+                    <complexType mixed="true">
+                        <sequence>
+                            <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+                        </sequence>
+                    </complexType>
+                </element>
+            </choice>
+        </sequence>
+        <attribute name="expressionLanguage" type="anyURI"/>
+        <attribute name="variable" type="NCName"/>
+        <attribute name="part" type="NCName"/>
+        <attribute name="property" type="QName"/>
+        <attribute name="partnerLink" type="NCName"/>
+        <attribute name="endpointReference" type="bpws:tRoles"/>
+        <attribute name="opaque" type="bpws:tBoolean"/>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
 
-	<complexType name="tForEach">
-      	   <complexContent>
+    <element name="to" type="bpws:tTo" />
+    <complexType name="tTo" mixed="true">
+        <sequence>
+            <element ref="bpws:documentation" minOccurs="0" maxOccurs="unbounded"/>
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+        </sequence>
+        <attribute name="queryLanguage" type="anyURI"/>
+        <attribute name="variable" type="NCName"/>
+        <attribute name="part" type="NCName"/>
+        <attribute name="property" type="QName"/>
+        <attribute name="partnerLink" type="NCName"/>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
+
+
+    <complexType name="tWait">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <choice>
+                    <element name="for" type="bpws:tDuration-expr"/>
+                    <element name="until" type="bpws:tDeadline-expr"/>
+                </choice>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tThrow">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <attribute name="faultName" type="QName" use="required"/>
+                <attribute name="faultVariable" type="NCName"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tRethrow">
+        <complexContent>
+            <extension base="bpws:tActivity"/>
+        </complexContent>
+        <!-- Empty -->
+    </complexType>
+    <complexType name="tCompensate">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <attribute name="scope" type="NCName"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tTerminate">
+        <complexContent>
+            <extension base="bpws:tActivity"/>
+        </complexContent>
+    </complexType>
+    <complexType name="tFlow">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="links" type="bpws:tLinks" minOccurs="0"/>
+                    <group ref="bpws:activity" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tLinks">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <sequence>
+                    <element name="link" type="bpws:tLink" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tLink">
+        <complexContent>
+            <extension base="bpws:tExtensibleElements">
+                <attribute name="name" type="NCName" use="required"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tIf">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="condition" type="bpws:tBoolean-expr" />
+                    <element name="then" type="bpws:tActivityContainer" /> 
+                    <element name="elseif" minOccurs="0" maxOccurs="unbounded" >
+                        <complexType>
+                            <complexContent>
+                                <extension base="bpws:tExtensibleElements" >
+                                    <sequence>
+                                        <element name="condition" type="bpws:tBoolean-expr" />
+                                        <group ref="bpws:activity" /> 
+                                    </sequence> 
+                                </extension>
+                            </complexContent>
+                        </complexType>
+                    </element>
+                    <element name="else" minOccurs="0" type="bpws:tActivityContainer"/> 
+                </sequence> 
+            </extension>
+        </complexContent> 
+    </complexType>
+    <complexType name="tWhile">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="condition" type="bpws:tBoolean-expr" />
+                    <group ref="bpws:activity"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tRepeatUntil">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <group ref="bpws:activity"/>
+                    <element name="condition" type="bpws:tBoolean-expr" />
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <complexType name="tSequence">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <group ref="bpws:activity" maxOccurs="unbounded"/>
+                </sequence>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tPick">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="onMessage" type="bpws:tOnMessage" maxOccurs="unbounded"/>
+                    <element name="onAlarm" type="bpws:tOnAlarmPick" minOccurs="0" maxOccurs="unbounded"/>
+                </sequence>
+                <attribute name="createInstance" type="bpws:tBoolean" default="no"/>
+            </extension>
+        </complexContent>
+    </complexType>
+    <complexType name="tScope">
+        <complexContent>
+            <extension base="bpws:tActivity">
+                <sequence>
+                    <element name="partnerLinks" type="bpws:tPartnerLinks" minOccurs="0"/>
+                    <element name="variables" type="bpws:tVariables" minOccurs="0"/>
+                    <element name="correlationSets" type="bpws:tCorrelationSets" minOccurs="0"/>
+                    <element name="faultHandlers" type="bpws:tFaultHandlers" minOccurs="0"/>
+                    <element name="compensationHandler" type="bpws:tCompensationHandler" minOccurs="0"/>
+                    <element name="terminationHandler" type="bpws:tTerminationHandler" minOccurs="0"/>
+                    <element name="eventHandlers" type="bpws:tEventHandlers" minOccurs="0"/>
+                    <group ref="bpws:activity"/>
+                </sequence>
+                <attribute name="isolated" type="bpws:tBoolean" default="no"/>
+                <attribute name="exitOnStandardFault" type="bpws:tBoolean" default="no"/>
+            </extension>
+        </complexContent>
+    </complexType>
+
+    <complexType name="tQuery" mixed="true">
+        <sequence>
+            <any minOccurs="0" maxOccurs="unbounded"  processContents="lax"/>
+        </sequence>
+        <attribute name="queryLanguage" type="anyURI"/>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
+
+
+    <complexType name="tExpression" mixed="true">
+        <sequence>
+            <any minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+        </sequence>
+        <attribute name="expressionLanguage" type="anyURI"/>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
+
+    <complexType name="tCondition">
+        <complexContent mixed="true">
+            <extension base="bpws:tExpression" />
+        </complexContent>
+    </complexType>
+
+    <complexType name="tForEach">
+           <complexContent>
                <extension base="bpws:tActivity">
                    <sequence>
                        <element name="startCounterValue" type="bpws:tExpression"/>
@@ -793,72 +793,72 @@
                             use="required"/>
                </extension>
            </complexContent>
-	</complexType>
+    </complexType>
 
-	<complexType name="tExtensionActivity">
-		<sequence>
-			<any processContents="lax"/>
-		</sequence>
-	</complexType>
-
-	<simpleType name="importedURI">
-		<restriction base="anyURI">
-			<enumeration value="http://www.w3.org/2001/XMLSchema"/>
-			<enumeration value="http://schemas.xmlsoap.org/wsdl/"/>
-		</restriction>
-	</simpleType>
-	
-	<complexType name="tBoolean-expr">
-		<complexContent mixed="true">
-			<extension base="bpws:tExpression" />
-		</complexContent>
-	</complexType>
-	<complexType name="tDuration-expr">
-		<complexContent mixed="true">
-			<extension base="bpws:tExpression" />
-		</complexContent>
-	</complexType>
-	<complexType name="tDeadline-expr">
-		<complexContent mixed="true">
-			<extension base="bpws:tExpression" />
-		</complexContent>
-	</complexType>
-	
-	<simpleType name="tBoolean">
-		<restriction base="string">
-			<enumeration value="yes"/>
-			<enumeration value="no"/>
-		</restriction>
-	</simpleType>
-	<simpleType name="tRoles">
-		<restriction base="string">
-			<enumeration value="myRole"/>
-			<enumeration value="partnerRole"/>
-		</restriction>
-	</simpleType>
-	<element name="service-ref" type="bpws:ServiceRefType">
-		<annotation>
-			<documentation>
-				This element can be used within a from-spec. 
-			</documentation>
-		</annotation>
-	</element>
-	<complexType name="ServiceRefType">
-		<annotation>
-			<documentation>
-				This type definition is for service reference container. 
-				This container is used as envelope to wrap around the actual endpoint reference value, 
-				when a BPEL process interacts the endpoint reference of a partnerLink. 
-				It provides pluggability of different versions of service referencing schemes 
-				being used within a BPEL program. The design pattern here is similar to those of 
-				expression language. 
-			</documentation>
-		</annotation>
-		<sequence>
-			<any namespace="##other" processContents="lax" minOccurs="1" maxOccurs="1"/>
-		</sequence>
-		<attribute name="reference-scheme" type="anyURI" use="optional"/>
-	</complexType>
+    <complexType name="tExtensionActivity">
+        <sequence>
+            <any processContents="lax"/>
+        </sequence>
+    </complexType>
+
+    <simpleType name="importedURI">
+        <restriction base="anyURI">
+            <enumeration value="http://www.w3.org/2001/XMLSchema"/>
+            <enumeration value="http://schemas.xmlsoap.org/wsdl/"/>
+        </restriction>
+    </simpleType>
+    
+    <complexType name="tBoolean-expr">
+        <complexContent mixed="true">
+            <extension base="bpws:tExpression" />
+        </complexContent>
+    </complexType>
+    <complexType name="tDuration-expr">
+        <complexContent mixed="true">
+            <extension base="bpws:tExpression" />
+        </complexContent>
+    </complexType>
+    <complexType name="tDeadline-expr">
+        <complexContent mixed="true">
+            <extension base="bpws:tExpression" />
+        </complexContent>
+    </complexType>
+    
+    <simpleType name="tBoolean">
+        <restriction base="string">
+            <enumeration value="yes"/>
+            <enumeration value="no"/>
+        </restriction>
+    </simpleType>
+    <simpleType name="tRoles">
+        <restriction base="string">
+            <enumeration value="myRole"/>
+            <enumeration value="partnerRole"/>
+        </restriction>
+    </simpleType>
+    <element name="service-ref" type="bpws:ServiceRefType">
+        <annotation>
+            <documentation>
+                This element can be used within a from-spec. 
+            </documentation>
+        </annotation>
+    </element>
+    <complexType name="ServiceRefType">
+        <annotation>
+            <documentation>
+                This type definition is for service reference container. 
+                This container is used as envelope to wrap around the actual endpoint reference value, 
+                when a BPEL process interacts the endpoint reference of a partnerLink. 
+                It provides pluggability of different versions of service referencing schemes 
+                being used within a BPEL program. The design pattern here is similar to those of 
+                expression language. 
+            </documentation>
+        </annotation>
+        <sequence>
+            <any namespace="##other" processContents="lax" minOccurs="1" maxOccurs="1"/>
+        </sequence>
+        <attribute name="reference-scheme" type="anyURI" use="optional"/>
+    </complexType>
     
     <simpleType name="tNCNames">
         <restriction>
@@ -869,34 +869,34 @@
         </restriction>
    </simpleType>
 
-	<element name="property">
-	    <complexType>
-			<complexContent>
-				<extension base="bpws:tExtensibleElements">
-		<attribute name="name" type="NCName" use="required"/>
-		<attribute name="type" type="QName"/>
-		<attribute name="element" type="QName"/>
-				</extension>
-			</complexContent> 
-	   </complexType>
-	</element>
-	
-	<element name="propertyAlias">
-		<complexType>
-			<complexContent>
-				<extension base="bpws:tExtensibleElements"> 	
-					<sequence>
-						<element name="query" minOccurs="0" type="bpws:tQuery" />
-					</sequence>
-					<attribute name="propertyName" type="QName" use="required"/>
-					<attribute name="messageType" type="QName"/>
-					<attribute name="part" type="NCName"/>
-					<attribute name="type" type="QName"/>
-					<attribute name="element" type="QName"/>
-				</extension>
-			</complexContent>
-		</complexType>
-	</element>
+    <element name="property">
+        <complexType>
+            <complexContent>
+                <extension base="bpws:tExtensibleElements">
+        <attribute name="name" type="NCName" use="required"/>
+        <attribute name="type" type="QName"/>
+        <attribute name="element" type="QName"/>
+                </extension>
+            </complexContent> 
+       </complexType>
+    </element>
+    
+    <element name="propertyAlias">
+        <complexType>
+            <complexContent>
+                <extension base="bpws:tExtensibleElements">     
+                    <sequence>
+                        <element name="query" minOccurs="0" type="bpws:tQuery" />
+                    </sequence>
+                    <attribute name="propertyName" type="QName" use="required"/>
+                    <attribute name="messageType" type="QName"/>
+                    <attribute name="part" type="NCName"/>
+                    <attribute name="type" type="QName"/>
+                    <attribute name="element" type="QName"/>
+                </extension>
+            </complexContent>
+        </complexType>
+    </element>
 
     
 </schema>

Modified: ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Apr-29-2006.xsd
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Apr-29-2006.xsd?rev=745271&r1=745270&r2=745271&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Apr-29-2006.xsd (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Apr-29-2006.xsd Tue Feb 17 22:06:18 2009
@@ -1,83 +1,83 @@
-<?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 xmlns="http://www.w3.org/2001/XMLSchema"
-	xmlns:tns="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
-	targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
-	elementFormDefault="qualified">
-
-	<annotation>
-		<documentation>
-			Partner Link Type Schema
-			2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
-			2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
-			2004-10-21: YIU-OSS: Alex Yiu: Applied Issue 129
-			2005-08-30: Rev 1.4: YIU-OSS: Alex Yiu: Applied Issue 192 
-		</documentation>
-	</annotation>
-
-	<import namespace="http://www.w3.org/XML/1998/namespace"  schemaLocation="http://www.w3.org/2001/xml.xsd" />
-	<element name="documentation" id="documentation">
-		<complexType mixed="true">
-			<sequence minOccurs="0" maxOccurs="unbounded">
-				<any processContents="lax"/>
-			</sequence>
-			<attribute name="source" type="anyURI"/>
-			<attribute ref="xml:lang"/>
-		</complexType>
-	</element>
-	<complexType name="tExtensibleElements">
-		<annotation>
-			<documentation>
-		This type is extended by other component types
-		to allow elements and attributes from
-		other namespaces to be added.
-	   </documentation>
-		</annotation>
-		<sequence>
-			<element ref="tns:documentation" minOccurs="0" maxOccurs="unbounded" />
-			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</sequence>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
-
-	
-	<element name="partnerLinkType" type="tns:tPartnerLinkType"/>
-	
-	<complexType name="tPartnerLinkType">
-		<complexContent>
-			<extension base="tns:tExtensibleElements">
-				<sequence>
-					<element name="role" type="tns:tRole" minOccurs="1" maxOccurs="2"/>
-				</sequence>
-				<attribute name="name" type="NCName" use="required"/>
-			</extension> 
-		</complexContent> 
-	</complexType>
-	
-	<complexType name="tRole">
-		<complexContent>
-			<extension base="tns:tExtensibleElements">
-				<attribute name="name" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="required" />
-			</extension>
-		</complexContent> 
-	</complexType>
-</schema>
+<?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 xmlns="http://www.w3.org/2001/XMLSchema"
+    xmlns:tns="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+    targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+    elementFormDefault="qualified">
+
+    <annotation>
+        <documentation>
+            Partner Link Type Schema
+            2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
+            2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
+            2004-10-21: YIU-OSS: Alex Yiu: Applied Issue 129
+            2005-08-30: Rev 1.4: YIU-OSS: Alex Yiu: Applied Issue 192 
+        </documentation>
+    </annotation>
+
+    <import namespace="http://www.w3.org/XML/1998/namespace"  schemaLocation="http://www.w3.org/2001/xml.xsd" />
+    <element name="documentation" id="documentation">
+        <complexType mixed="true">
+            <sequence minOccurs="0" maxOccurs="unbounded">
+                <any processContents="lax"/>
+            </sequence>
+            <attribute name="source" type="anyURI"/>
+            <attribute ref="xml:lang"/>
+        </complexType>
+    </element>
+    <complexType name="tExtensibleElements">
+        <annotation>
+            <documentation>
+        This type is extended by other component types
+        to allow elements and attributes from
+        other namespaces to be added.
+       </documentation>
+        </annotation>
+        <sequence>
+            <element ref="tns:documentation" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+        </sequence>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
+
+    
+    <element name="partnerLinkType" type="tns:tPartnerLinkType"/>
+    
+    <complexType name="tPartnerLinkType">
+        <complexContent>
+            <extension base="tns:tExtensibleElements">
+                <sequence>
+                    <element name="role" type="tns:tRole" minOccurs="1" maxOccurs="2"/>
+                </sequence>
+                <attribute name="name" type="NCName" use="required"/>
+            </extension> 
+        </complexContent> 
+    </complexType>
+    
+    <complexType name="tRole">
+        <complexContent>
+            <extension base="tns:tExtensibleElements">
+                <attribute name="name" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="required" />
+            </extension>
+        </complexContent> 
+    </complexType>
+</schema>

Modified: ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Sep-06-2005.xsd
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Sep-06-2005.xsd?rev=745271&r1=745270&r2=745271&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Sep-06-2005.xsd (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsbpel_plinkType-draft-Sep-06-2005.xsd Tue Feb 17 22:06:18 2009
@@ -19,66 +19,66 @@
   -->
 
 <schema xmlns="http://www.w3.org/2001/XMLSchema"
-	xmlns:tns="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
-	targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
-	elementFormDefault="qualified">
+    xmlns:tns="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+    targetNamespace="http://schemas.xmlsoap.org/ws/2004/03/partner-link/"
+    elementFormDefault="qualified">
 
-	<annotation>
-		<documentation>
-			Partner Link Type Schema
-			2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
-			2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
-			2004-10-21: YIU-OSS: Alex Yiu: Applied Issue 129
-			2005-08-30: Rev 1.4: YIU-OSS: Alex Yiu: Applied Issue 192 
-		</documentation>
-	</annotation>
+    <annotation>
+        <documentation>
+            Partner Link Type Schema
+            2004-03-24: YIU-OSS: Alex Yiu: Extracted from  wsbpel-specification-draft.doc (Rev 1.22 - Modified on 24 March, 2004)
+            2004-03-24: YIU-OSS: Alex Yiu: Updated targetNamespace with "2004/03"
+            2004-10-21: YIU-OSS: Alex Yiu: Applied Issue 129
+            2005-08-30: Rev 1.4: YIU-OSS: Alex Yiu: Applied Issue 192 
+        </documentation>
+    </annotation>
 
-	<import namespace="http://www.w3.org/XML/1998/namespace"  
-		schemaLocation="xml.xsd"/>
-	<element name="documentation" id="documentation">
-		<complexType mixed="true">
-			<sequence minOccurs="0" maxOccurs="unbounded">
-				<any processContents="lax"/>
-			</sequence>
-			<attribute name="source" type="anyURI"/>
-			<attribute ref="xml:lang"/>
-		</complexType>
-	</element>
-	<complexType name="tExtensibleElements">
-		<annotation>
-			<documentation>
-		This type is extended by other component types
-		to allow elements and attributes from
-		other namespaces to be added.
-	   </documentation>
-		</annotation>
-		<sequence>
-			<element ref="tns:documentation" minOccurs="0" maxOccurs="unbounded" />
-			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
-		</sequence>
-		<anyAttribute namespace="##other" processContents="lax"/>
-	</complexType>
+    <import namespace="http://www.w3.org/XML/1998/namespace"  
+        schemaLocation="xml.xsd"/>
+    <element name="documentation" id="documentation">
+        <complexType mixed="true">
+            <sequence minOccurs="0" maxOccurs="unbounded">
+                <any processContents="lax"/>
+            </sequence>
+            <attribute name="source" type="anyURI"/>
+            <attribute ref="xml:lang"/>
+        </complexType>
+    </element>
+    <complexType name="tExtensibleElements">
+        <annotation>
+            <documentation>
+        This type is extended by other component types
+        to allow elements and attributes from
+        other namespaces to be added.
+       </documentation>
+        </annotation>
+        <sequence>
+            <element ref="tns:documentation" minOccurs="0" maxOccurs="unbounded" />
+            <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+        </sequence>
+        <anyAttribute namespace="##other" processContents="lax"/>
+    </complexType>
 
-	
-	<element name="partnerLinkType" type="tns:tPartnerLinkType"/>
-	
-	<complexType name="tPartnerLinkType">
-		<complexContent>
-			<extension base="tns:tExtensibleElements">
-				<sequence>
-					<element name="role" type="tns:tRole" minOccurs="1" maxOccurs="2"/>
-				</sequence>
-				<attribute name="name" type="NCName" use="required"/>
-			</extension> 
-		</complexContent> 
-	</complexType>
-	
-	<complexType name="tRole">
-		<complexContent>
-			<extension base="tns:tExtensibleElements">
-				<attribute name="name" type="NCName" use="required"/>
-				<attribute name="portType" type="QName" use="required" />
-			</extension>
-		</complexContent> 
-	</complexType>
+    
+    <element name="partnerLinkType" type="tns:tPartnerLinkType"/>
+    
+    <complexType name="tPartnerLinkType">
+        <complexContent>
+            <extension base="tns:tExtensibleElements">
+                <sequence>
+                    <element name="role" type="tns:tRole" minOccurs="1" maxOccurs="2"/>
+                </sequence>
+                <attribute name="name" type="NCName" use="required"/>
+            </extension> 
+        </complexContent> 
+    </complexType>
+    
+    <complexType name="tRole">
+        <complexContent>
+            <extension base="tns:tExtensibleElements">
+                <attribute name="name" type="NCName" use="required"/>
+                <attribute name="portType" type="QName" use="required" />
+            </extension>
+        </complexContent> 
+    </complexType>
 </schema>

Modified: ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsdl.xsd
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsdl.xsd?rev=745271&r1=745270&r2=745271&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsdl.xsd (original)
+++ ode/branches/APACHE_ODE_1.X/bpel-schemas/src/main/resources/wsdl.xsd Tue Feb 17 22:06:18 2009
@@ -121,7 +121,7 @@
           <xs:selector xpath="wsdl:port" />
           <xs:field xpath="@name" />
         </xs:unique>
-	  </xs:element>
+      </xs:element>
     </xs:choice>
   </xs:group>
 
@@ -192,7 +192,7 @@
   <xs:complexType name="tOperation" >
     <xs:complexContent>
       <xs:extension base="wsdl:tExtensibleDocumented" >
-	    <xs:sequence>
+        <xs:sequence>
 
           <xs:choice>
             <xs:group ref="wsdl:request-response-or-one-way-operation" />
@@ -209,9 +209,9 @@
   <xs:group name="request-response-or-one-way-operation" >
     <xs:sequence>
       <xs:element name="input" type="wsdl:tParam" />
-	  <xs:sequence minOccurs='0' >
-	    <xs:element name="output" type="wsdl:tParam" />
-		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
+      <xs:sequence minOccurs='0' >
+        <xs:element name="output" type="wsdl:tParam" />
+        <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
       </xs:sequence>
     </xs:sequence>
   </xs:group>
@@ -219,10 +219,10 @@
   <xs:group name="solicit-response-or-notification-operation" >
     <xs:sequence>
       <xs:element name="output" type="wsdl:tParam" />
-	  <xs:sequence minOccurs='0' >
-	    <xs:element name="input" type="wsdl:tParam" />
-		<xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
-	  </xs:sequence>
+      <xs:sequence minOccurs='0' >
+        <xs:element name="input" type="wsdl:tParam" />
+        <xs:element name="fault" type="wsdl:tFault" minOccurs="0" maxOccurs="unbounded" />
+      </xs:sequence>
     </xs:sequence>
 
   </xs:group>



Mime
View raw message