OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: BP XSD syntax errors


I recently discovered some syntical errors in the 1.0.1 released
version of BP XSD.  I have fixed them up.  Attached is a fixed
version of the XSD and a diff output which contains the difference
between the attached the 1.0.1 version.

Please see if the corrections can be incoporated in the future releases.
I hvae summarised the changes below.

Thanks.
-mw

Changes:

1. 3rd line that says "Updated 2001-05-10" did not close off the comment
   with -->

2. Attributes with values specified in the schema must be declared as
   either default or fixed.  I changed them to use="default".

3. According to the XML spec an element can only have one ID attribute
   (see http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-TokenizedType).
   The following declaraion contans two ID attributes.  This is not valid.

  <xsd:element name="DocumentSubstitution">
    <xsd:complexType>
	<xsd:element ref="Documentation" minOccurs="0"
                                         maxOccurs="unbounded"/>
        <xsd:attribute name="originalBusinessDocument" type="xsd:string"/>
        <xsd:attribute name="originalBusinessDocumentID" type="xsd:ID"/>
        <xsd:attribute name="substituteBusinessDocument" type="xsd:string"/>
        <xsd:attribute name="substituteBusinessDocumentId" type="xsd:ID"/>
     </xsd:complexType>
  </xsd:element>

   I have changed them to be IDREF.

4. Line 109 of <xsd:element name="BusinessDocument"> and
   Line 247 of <xsd:element name="Failure"> and
   Line 393 of <xsd:element name="Success"> and
   Line 413 of <xsd:element name="Transition">  had "<xsd:sequence >".
   Updated to <xsd:sequence>.  i.e removed space.

5. Line 128 of <xsd:element name="SubstitutionSet"> had 
	<xsd:attribute name=" applyToScope" type="xsd:string"/>
   Changed to
	<xsd:attribute name="applyToScope" type="xsd:string"/>
   i.e removed the space in name.
1a2
> <!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
3c4
< <!-- Updated 2001-05-10
---
> <!-- Updated 2001-05-10 -->
43c44,47
< <xsd:schema targetNamespace="http://www.ebxml.org/BusinessProcess" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema" xmlns="http://www.ebxml.org/BusinessProcess" elementFormDefault="qualified">
---
> <xsd:schema targetNamespace="http://www.ebxml.org/BusinessProcess"
> 	 xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
> 	 xmlns="http://www.ebxml.org/BusinessProcess"
> 	 elementFormDefault="qualified">
56,58c60,62
< 			<xsd:attribute name="isAuthenticated" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isConfidential" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isTamperProof" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isAuthenticated" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isConfidential" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isTamperProof" use="default" value="false" type="xsd:boolean"/>
109c113
< 			<xsd:sequence >
---
> 			<xsd:sequence>
119c123
< <xsd:element name="SubstitutionSet">
---
> 	<xsd:element name="SubstitutionSet">
128c132
< 			<xsd:attribute name=" applyToScope" type="xsd:string"/>
---
> 			<xsd:attribute name="applyToScope" type="xsd:string"/>
131c135
< <xsd:element name="DocumentSubstitution">
---
> 	<xsd:element name="DocumentSubstitution">
134,135c138,139
< <xsd:attribute name="originalBusinessDocument" type="xsd:string"/>
< 			<xsd:attribute name="originalBusinessDocumentID" type="xsd:ID"/>
---
> 			<xsd:attribute name="originalBusinessDocument" type="xsd:string"/>
> 			<xsd:attribute name="originalBusinessDocumentID" type="xsd:IDREF"/>
137c141
< 			<xsd:attribute name="substituteBusinessDocumentId" type="xsd:ID"/>
---
> 			<xsd:attribute name="substituteBusinessDocumentId" type="xsd:IDREF"/>
140c144
< <xsd:element name="AttributeSubstitution">
---
> 	<xsd:element name="AttributeSubstitution">
149c153
< <xsd:element name="ConditionExpression">
---
> 	<xsd:element name="ConditionExpression">
158,159d161
< 
< 
183c185
< 			<xsd:attribute name="isGuaranteedDeliveryRequired" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isGuaranteedDeliveryRequired" use="default" value="false" type="xsd:boolean"/>
201,202c203,204
< 			<xsd:attribute name="isConcurrent" type="xsd:boolean" value="true"/>
< 			<xsd:attribute name="isLegallyBinding" type="xsd:boolean" value="true"/>
---
> 			<xsd:attribute name="isConcurrent" use="default" value="true" type="xsd:boolean"/>
> 			<xsd:attribute name="isLegallyBinding" use="default" value="true" type="xsd:boolean"/>
230,232c232,234
< 			<xsd:attribute name="isAuthenticated" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isConfidential" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isTamperProof" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isAuthenticated" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isConfidential" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isTamperProof" use="default" value="false" type="xsd:boolean"/>
235d236
< 	
247c248
< 			<xsd:sequence >
---
> 			<xsd:sequence>
250,251c251,252
< </xsd:sequence>
< <xsd:attribute name="fromBusinessState" type="xsd:string" use="required"/>
---
> 			</xsd:sequence>
> 			<xsd:attribute name="fromBusinessState" type="xsd:string" use="required"/>
292c293
< 			<xsd:attribute name="waitForAll" type="xsd:boolean" value="true"/>
---
> 			<xsd:attribute name="waitForAll" use="default" value="true" type="xsd:boolean"/>
359,362c360,363
< 			<xsd:attribute name="isAuthorizationRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isIntelligibleCheckRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isNonRepudiationReceiptRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isNonRepudiationRequired" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isAuthorizationRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isIntelligibleCheckRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isNonRepudiationRequired" use="default" value="false" type="xsd:boolean"/>
375,378c376,379
< 			<xsd:attribute name="isAuthorizationRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isIntelligibleCheckRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isNonRepudiationReceiptRequired" type="xsd:boolean" value="false"/>
< 			<xsd:attribute name="isNonRepudiationRequired" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isAuthorizationRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isIntelligibleCheckRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" value="false" type="xsd:boolean"/>
> 			<xsd:attribute name="isNonRepudiationRequired" use="default" value="false" type="xsd:boolean"/>
393c394
< 			<xsd:sequence >
---
> 			<xsd:sequence>
413c414
< 			<xsd:sequence >
---
> 			<xsd:sequence>
417c418
< 			<xsd:attribute name="onInitiation" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="onInitiation" use="default" value="false" type="xsd:boolean"/>
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by XML Authority. Conforms to w3c http://www.w3.org/2000/10/XMLSchema-->
	<!-- edited by Kurt Kanaskie (Lucent Technologies) -->
	<!-- Updated 2001-05-10 -->
	<!-- Kanaskie Updated 2001-04-27
		Use uriReference instead of anyURI
		Use timeDuration instead of duration
    -->
	<!-- Kanaskie Changed 2001-04-27
	See DTD for list of changes.
	Differences from DTD version:
	AuthorizedRole minOccurs=2 maxOccurs=2
	<xsd:attribute name="pattern" type="xsd:anyURI"/>
	<xsd:attribute name="uri" type="xsd:anyURI" use="required"/>
	<xsd:attribute name="location" type="xsd:anyURI"/>
	<xsd:attribute name="logicalModel" type="xsd:anyURI"/>
	<xsd:attribute name="specification" type="xsd:anyURI"/>
	<xsd:attribute name="timeToPerform" type="xsd:duration"/>
	<xsd:attribute name="timeToPerform" type="xsd:duration"/>
	<xsd:attribute name="timeToAcknowledgeAcceptance" type="xsd:duration"/>
	<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:duration"/>
	<xsd:attribute name="timeToAcknowledgeAcceptance" type="xsd:duration"/>
	<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:duration"/>
	<xsd:attribute name="isAuthenticated" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isConfidential" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isTamperProof" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isGuaranteedDeliveryRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isConcurrent" type="xsd:boolean" value="true"/>
	<xsd:attribute name="isLegallyBinding" type="xsd:boolean" value="true"/>
	<xsd:attribute name="isAuthenticated" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isConfidential" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isTamperProof" type="xsd:boolean" value="false"/>
	<xsd:attribute name="waitForAll" type="xsd:boolean" value="true"/>
	<xsd:attribute name="isAuthorizationRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isIntelligibleCheckRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isNonRepudiationReceiptRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isNonRepudiationRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isAuthorizationRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isIntelligibleCheckRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isNonRepudiationReceiptRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="isNonRepudiationRequired" type="xsd:boolean" value="false"/>
	<xsd:attribute name="onInitiation" type="xsd:boolean" value="false"/>
-->
<xsd:schema targetNamespace="http://www.ebxml.org/BusinessProcess"
	 xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
	 xmlns="http://www.ebxml.org/BusinessProcess"
	 elementFormDefault="qualified">
	<xsd:element name="Attachment">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="businessDocument" type="xsd:string"/>
			<xsd:attribute name="businessDocumentIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="specification" type="xsd:uriReference"/>
			<xsd:attribute name="mimeType" type="xsd:string" use="required"/>
			<xsd:attribute name="version" type="xsd:string"/>
			<xsd:attribute name="isAuthenticated" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isConfidential" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isTamperProof" use="default" value="false" type="xsd:boolean"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="InitiatingRole">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="RespondingRole">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="BinaryCollaboration">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="InitiatingRole"/>
				<xsd:element ref="RespondingRole"/>
				<xsd:choice minOccurs="0" maxOccurs="unbounded">
					<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="Start"/>
					<xsd:element ref="Transition"/>
					<xsd:element ref="Success"/>
					<xsd:element ref="Failure"/>
					<xsd:element ref="BusinessTransactionActivity"/>
					<xsd:element ref="CollaborationActivity"/>
					<xsd:element ref="Fork"/>
					<xsd:element ref="Join"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="pattern" type="xsd:uriReference"/>
			<xsd:attribute name="beginsWhen" type="xsd:string"/>
			<xsd:attribute name="endsWhen" type="xsd:string"/>
			<xsd:attribute name="preCondition" type="xsd:string"/>
			<xsd:attribute name="postCondition" type="xsd:string"/>
			<xsd:attribute name="timeToPerform" type="xsd:timeDuration"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="BusinessDocument">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="ConditionExpression" minOccurs="0" maxOccurs="1"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="specificationLocation" type="xsd:string"/>
			<xsd:attribute name="specificationElement" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="SubstitutionSet">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="DocumentSubstitution" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="AttributeSubstitution" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string"/>
			<xsd:attribute name="nameId" type="xsd:ID"/>
			<xsd:attribute name="applyToScope" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="DocumentSubstitution">
		<xsd:complexType>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			<xsd:attribute name="originalBusinessDocument" type="xsd:string"/>
			<xsd:attribute name="originalBusinessDocumentID" type="xsd:IDREF"/>
			<xsd:attribute name="substituteBusinessDocument" type="xsd:string"/>
			<xsd:attribute name="substituteBusinessDocumentId" type="xsd:IDREF"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="AttributeSubstitution">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="attributeName" type="xsd:string"/>
			<xsd:attribute name="value" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="ConditionExpression">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="expressionLanguage" type="xsd:string"/>
			<xsd:attribute name="expression" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="BusinessPartnerRole">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="Performs" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="Transition" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="BusinessTransaction">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="RequestingBusinessActivity"/>
				<xsd:element ref="RespondingBusinessActivity"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="pattern" type="xsd:uriReference"/>
			<xsd:attribute name="beginsWhen" type="xsd:string"/>
			<xsd:attribute name="endsWhen" type="xsd:string"/>
			<xsd:attribute name="isGuaranteedDeliveryRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="preCondition" type="xsd:string"/>
			<xsd:attribute name="postCondition" type="xsd:string"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="BusinessTransactionActivity">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="businessTransaction" type="xsd:string" use="required"/>
			<xsd:attribute name="businessTransactionIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="fromAuthorizedRole" type="xsd:string" use="required"/>
			<xsd:attribute name="fromAuthorizedRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="toAuthorizedRole" type="xsd:string" use="required"/>
			<xsd:attribute name="toAuthorizedRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="isConcurrent" use="default" value="true" type="xsd:boolean"/>
			<xsd:attribute name="isLegallyBinding" use="default" value="true" type="xsd:boolean"/>
			<xsd:attribute name="timeToPerform" type="xsd:timeDuration"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="CollaborationActivity">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="fromAuthorizedRole" type="xsd:string" use="required"/>
			<xsd:attribute name="fromAuthorizedRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="toAuthorizedRole" type="xsd:string" use="required"/>
			<xsd:attribute name="toAuthorizedRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="binaryCollaboration" type="xsd:string" use="required"/>
			<xsd:attribute name="binaryCollaborationIDRef" type="xsd:IDREF"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="DocumentEnvelope">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="Attachment" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="businessDocument" type="xsd:string" use="required"/>
			<xsd:attribute name="businessDocumentIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="isPositiveResponse" type="xsd:string"/>
			<xsd:attribute name="isAuthenticated" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isConfidential" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isTamperProof" use="default" value="false" type="xsd:boolean"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Documentation">
		<xsd:complexType>
			<xsd:simpleContent>
				<xsd:restriction base="xsd:string">
					<xsd:attribute name="uri" type="xsd:uriReference"/>
				</xsd:restriction>
			</xsd:simpleContent>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Failure">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="ConditionExpression" minOccurs="0" maxOccurs="1"/>
			</xsd:sequence>
			<xsd:attribute name="fromBusinessState" type="xsd:string" use="required"/>
			<xsd:attribute name="fromBusinessStateIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="conditionGuard">
				<xsd:simpleType>
					<xsd:restriction base="xsd:NMTOKEN">
						<xsd:enumeration value="Success"/>
						<xsd:enumeration value="BusinessFailure"/>
						<xsd:enumeration value="TechnicalFailure"/>
						<xsd:enumeration value="AnyFailure"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Fork">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Include">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="uuid" type="xsd:string" use="required"/>
			<xsd:attribute name="uri" type="xsd:uriReference" use="required"/>
			<xsd:attribute name="version" type="xsd:string" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Join">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="waitForAll" use="default" value="true" type="xsd:boolean"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="MultiPartyCollaboration">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="BusinessPartnerRole" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Package">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:choice minOccurs="0" maxOccurs="unbounded">
					<xsd:element ref="Package"/>
					<xsd:element ref="BinaryCollaboration"/>
					<xsd:element ref="BusinessTransaction"/>
					<xsd:element ref="MultiPartyCollaboration"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Performs">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="initiatingRole" type="xsd:string" use="required"/>
			<xsd:attribute name="initiatingRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="respondingRole" type="xsd:string" use="required"/>
			<xsd:attribute name="respondingRoleIDRef" type="xsd:IDREF"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="ProcessSpecification">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="SubstitutionSet" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:choice minOccurs="0" maxOccurs="unbounded">
					<xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="BusinessDocument" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="ProcessSpecification" minOccurs="0" maxOccurs="unbounded"/>
					<xsd:element ref="Package"/>
					<xsd:element ref="BinaryCollaboration"/>
					<xsd:element ref="BusinessTransaction"/>
					<xsd:element ref="MultiPartyCollaboration"/>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:ID" use="required"/>
			<xsd:attribute name="uuid" type="xsd:string" use="required"/>
			<xsd:attribute name="version" type="xsd:string" use="required"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="RequestingBusinessActivity">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="DocumentEnvelope"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="isAuthorizationRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isIntelligibleCheckRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isNonRepudiationRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="timeToAcknowledgeAcceptance" type="xsd:timeDuration"/>
			<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:timeDuration"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="RespondingBusinessActivity">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="DocumentEnvelope" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="name" type="xsd:string" use="required"/>
			<xsd:attribute name="nameID" type="xsd:ID"/>
			<xsd:attribute name="isAuthorizationRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isIntelligibleCheckRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="isNonRepudiationRequired" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:timeDuration"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Start">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<xsd:attribute name="toBusinessState" type="xsd:string" use="required"/>
			<xsd:attribute name="toBusinessStateIDRef" type="xsd:IDREF"/>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Success">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="ConditionExpression" minOccurs="0" maxOccurs="1"/>
			</xsd:sequence>
			<xsd:attribute name="fromBusinessState" type="xsd:string" use="required"/>
			<xsd:attribute name="fromBusinessStateIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="conditionGuard">
				<xsd:simpleType>
					<xsd:restriction base="xsd:NMTOKEN">
						<xsd:enumeration value="Success"/>
						<xsd:enumeration value="BusinessFailure"/>
						<xsd:enumeration value="TechnicalFailure"/>
						<xsd:enumeration value="AnyFailure"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:element name="Transition">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
				<xsd:element ref="ConditionExpression" minOccurs="0" maxOccurs="1"/>
			</xsd:sequence>
			<xsd:attribute name="onInitiation" use="default" value="false" type="xsd:boolean"/>
			<xsd:attribute name="fromBusinessState" type="xsd:string"/>
			<xsd:attribute name="fromBusinessStateIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="toBusinessState" type="xsd:string"/>
			<xsd:attribute name="toBusinessStateIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="conditionGuard">
				<xsd:simpleType>
					<xsd:restriction base="xsd:NMTOKEN">
						<xsd:enumeration value="Success"/>
						<xsd:enumeration value="BusinessFailure"/>
						<xsd:enumeration value="TechnicalFailure"/>
						<xsd:enumeration value="AnyFailure"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC