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: Re: BP XSD syntax errors


It looks like I made a big mistake.  I do not know where I got hold
of my original "ebBPSS.xsd".  I just double checked against the copy
in ebBPSS-v1.01.zip which is ebBPSS-v1.01.xsd and these are the fixes
that I made.  Note that these are just syntatical fixes.

New XSD file attached and with diffed output.

Changes:
1. xsd:anyURI changed to xsd:uriReference
2. xsd:duration changed to xsd:timeDuration
3. Attributes with values specified in the schema must be declared as
   either default or fixed.  I changed them to use="default".
4. 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.

-mw


Michael Wang wrote:
> 
> 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.
>
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited by Kurt Kanaskie (Lucent Technologies) -->
<!-- Updated 2001-05-24
	Differences from DTD version:
	<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:attribute name="isPositiveResponse" type="xsd:boolean"/>
-->
<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" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isConfidential" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isTamperProof" use="default" type="xsd:boolean" value="false"/>
		</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"/>
					<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:sequence>
				<xsd:element ref="Documentation" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:sequence>
			<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" type="xsd:boolean" value="false"/>
			<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" type="xsd:boolean" value="true"/>
			<xsd:attribute name="isLegallyBinding" use="default" type="xsd:boolean" value="true"/>
			<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:boolean"/>
			<xsd:attribute name="isAuthenticated" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isConfidential" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isTamperProof" use="default" type="xsd:boolean" value="false"/>
		</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" type="xsd:boolean" value="true"/>
		</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="optional"/>
			<xsd:attribute name="initiatingRoleIDRef" type="xsd:IDREF"/>
			<xsd:attribute name="respondingRole" type="xsd:string" use="optional"/>
			<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"/>
					<xsd:element ref="BusinessDocument"/>
					<xsd:element ref="ProcessSpecification"/>
					<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" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isIntelligibleCheckRequired" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isNonRepudiationRequired" use="default" type="xsd:boolean" value="false"/>
			<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" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isIntelligibleCheckRequired" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" type="xsd:boolean" value="false"/>
			<xsd:attribute name="isNonRepudiationRequired" use="default" type="xsd:boolean" value="false"/>
			<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" type="xsd:boolean" value="false"/>
			<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>
47c47
< 			<xsd:attribute name="specification" type="xsd:anyURI"/>
---
> 			<xsd:attribute name="specification" type="xsd:uriReference"/>
50,52c50,52
< 			<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" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isConfidential" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isTamperProof" use="default" type="xsd:boolean" value="false"/>
93c93
< 			<xsd:attribute name="pattern" type="xsd:anyURI"/>
---
> 			<xsd:attribute name="pattern" type="xsd:uriReference"/>
98c98
< 			<xsd:attribute name="timeToPerform" type="xsd:duration"/>
---
> 			<xsd:attribute name="timeToPerform" type="xsd:timeDuration"/>
131c131
< 			<xsd:attribute name="originalBusinessDocumentID" type="xsd:ID"/>
---
> 			<xsd:attribute name="originalBusinessDocumentID" type="xsd:IDREF"/>
133c133
< 			<xsd:attribute name="substituteBusinessDocumentId" type="xsd:ID"/>
---
> 			<xsd:attribute name="substituteBusinessDocumentId" type="xsd:IDREF"/>
174c174
< 			<xsd:attribute name="pattern" type="xsd:anyURI"/>
---
> 			<xsd:attribute name="pattern" type="xsd:uriReference"/>
177c177
< 			<xsd:attribute name="isGuaranteedDeliveryRequired" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="isGuaranteedDeliveryRequired" use="default" type="xsd:boolean" value="false"/>
195,197c195,197
< 			<xsd:attribute name="isConcurrent" type="xsd:boolean" value="true"/>
< 			<xsd:attribute name="isLegallyBinding" type="xsd:boolean" value="true"/>
< 			<xsd:attribute name="timeToPerform" type="xsd:duration"/>
---
> 			<xsd:attribute name="isConcurrent" use="default" type="xsd:boolean" value="true"/>
> 			<xsd:attribute name="isLegallyBinding" use="default" type="xsd:boolean" value="true"/>
> 			<xsd:attribute name="timeToPerform" type="xsd:timeDuration"/>
224,226c224,226
< 			<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" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isConfidential" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isTamperProof" use="default" type="xsd:boolean" value="false"/>
233c233
< 					<xsd:attribute name="uri" type="xsd:anyURI"/>
---
> 					<xsd:attribute name="uri" type="xsd:uriReference"/>
274c274
< 			<xsd:attribute name="uri" type="xsd:anyURI" use="required"/>
---
> 			<xsd:attribute name="uri" type="xsd:uriReference" use="required"/>
285c285
< 			<xsd:attribute name="waitForAll" type="xsd:boolean" value="true"/>
---
> 			<xsd:attribute name="waitForAll" use="default" type="xsd:boolean" value="true"/>
352,357c352,357
< 			<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="timeToAcknowledgeAcceptance" type="xsd:duration"/>
< 			<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:duration"/>
---
> 			<xsd:attribute name="isAuthorizationRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isIntelligibleCheckRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isNonRepudiationRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="timeToAcknowledgeAcceptance" type="xsd:timeDuration"/>
> 			<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:timeDuration"/>
368,372c368,372
< 			<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="timeToAcknowledgeReceipt" type="xsd:duration"/>
---
> 			<xsd:attribute name="isAuthorizationRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isIntelligibleCheckRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isNonRepudiationReceiptRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="isNonRepudiationRequired" use="default" type="xsd:boolean" value="false"/>
> 			<xsd:attribute name="timeToAcknowledgeReceipt" type="xsd:timeDuration"/>
410c410
< 			<xsd:attribute name="onInitiation" type="xsd:boolean" value="false"/>
---
> 			<xsd:attribute name="onInitiation" use="default" type="xsd:boolean" value="false"/>


[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