[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsbpel] onEvent inconsistency between spec & schema?
Hi Ron, Thanks for catching this inconsistency. Obviously, the schema is lagging behind. :-) ... (There would be other lagging behind situations as well, because there are a number of syntax related issue got applied to spec text for last a couple of months. e.g. using "BPELVariableName" instead of "NCName" ) Please open an action item and assign to me. I guess it is time for me to pick up the XSD pen again. And, here are some XSD details: --------------------- <onEvent partnerLink="NCName" portType="QName"? operation="NCName" (messageType="QName" | element="QName")? variable="BPELVariableName"? messageExchange="NCName"? >* <correlations>? <correlation set="NCName" initiate="yes|join|no"?/>+ </correlations> <fromParts>? <fromPart part="NCName" toVariable="BPELVariableName"/>+ </fromParts> <scope ...> ... </scope> </onEvent> --------------------- Yes, "toOnEvent" needs to changed: --------------------- <complexType name="tOnEvent"> <complexContent> <extension base="bpws:tOnMsgCommon"> <sequence> <element ref="bpws:scope"/> </sequence> <attribute name="messageType" type="QName" use="optional"/> <attribute name="element" type="QName" use="optional"/> <attribute name="variable" type="BPELVariableName" use="optional"/> </extension> </complexContent> </complexType> --------------------- All the "fromPart" needs to be wrapped by "fromParts" as well. For example, in "tOnMsgCommon" --------------------- ---------------------<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> Thanks! Regards, Alex Yiu Ron Ten-Hove wrote: BPELers, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]