[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Issue - R17 - Schema for abstract processes is not valid
This issue has been added to the wsbpel issue list with a status of "received". The status will be changed to "open" if a motion to open the issue is proposed and that motion is approved by the TC. A motion could also be proposed to close it without further consideration. Otherwise it will remain as "received".
The issues list is posted as a Technical Committee document to the OASIS WSBPEL TC pages on a regular basis. The current edition, as a TC document, is the most recent version of the document entitled in the "Issues" folder of the WSBPEL TC document list - the next posting as a TC document will include this issue. The list editor's working copy, which will normally include an issue when it is announced, is available at this constant URL.
<xsd:complexType name="tOnAlarmEvent"> <xsd:complexContent> <xsd:extension base="tExtensibleElements"> <xsd:sequence> <xsd:choice> <xsd:sequence> <xsd:group ref="forOrUntilGroup" minOccurs="0"/> <xsd:element ref="repeatEvery" minOccurs="0"/> </xsd:sequence> <xsd:element ref="repeatEvery" minOccurs="0"/> </xsd:choice> <xsd:element ref="scope" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>
This is not valid XML schema, because the content model is not deterministic. If in an instance document the first child element is <bpel:repeatEvery> it's not clear which path in the schema applies. Within the choice it can be either be the sequence path (forOrUntilGroup's minOccurs="0" allows that) or the second repeatEvery element reference path.
Submitter's proposal: The schema for abstract processes needs to be changed with the result that the content model is deterministic. I propose to replace the complex type found in the description above with the following complex type:
<xsd:complexType name="tOnAlarmEvent"> <xsd:complexContent> <xsd:extension base="tExtensibleElements"> <xsd:sequence> <xsd:group ref="forOrUntilGroup" minOccurs="0"/> <xsd:element ref="repeatEvery" minOccurs="0"/> <xsd:element ref="scope" minOccurs="0"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType>
The copy of the schema in the appendix of the specification needs to be changed accordingly.
Changes: 4 Oct 2006 - new issue
To comment on this issue (including whether it should be accepted), please follow-up to this announcement on the wsbpel@lists.oasis-open.org list (replying to this message should automatically send your message to that list), or ensure the subject line as you send it starts "Issue - R17 - [anything]" or is a reply to such a message. If you want to formally propose a resolution to an open issue, please start the subject line "Issue - R17 - Proposed resolution", without any Re: or similar.
To add a new issue, see the issues procedures document
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]