[jboss-user] [jBPM] - Re: Event Based Gateway Split - xml parsing error

Tihomir Surdilovic do-not-reply at jboss.com
Wed Sep 21 18:20:34 EDT 2011


Tihomir Surdilovic [http://community.jboss.org/people/tsurdilovic] created the discussion

"Re: Event Based Gateway Split - xml parsing error"

To view the discussion, visit: http://community.jboss.org/message/627900#627900

--------------------------------------------------------------
Yes, this is an issue because the OMG Semantic.xsd defines a specific sequence for the process element 


<xsd:complexType name="tProcess">
        <xsd:complexContent>
            <xsd:extension base="tCallableElement">
                <xsd:sequence>
                    <xsd:element ref="auditing" minOccurs="0" maxOccurs="1"/>
                    <xsd:element ref="monitoring" minOccurs="0" maxOccurs="1"/>
                    <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element ref="laneSet" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element ref="flowElement" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element ref="artifact" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element ref="resourceRole" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element ref="correlationSubscription" minOccurs="0" maxOccurs="unbounded"/>
                    <xsd:element name="supports" type="xsd:QName" minOccurs="0" maxOccurs="unbounded"/>
                </xsd:sequence>
                <xsd:attribute name="processType" type="tProcessType" default="None"/>
                <xsd:attribute name="isClosed" type="xsd:boolean" default="false"/>
                <xsd:attribute name="isExecutable" type="xsd:boolean"/>
                <xsd:attribute name="definitionalCollaborationRef" type="xsd:QName" use="optional"/>
            </xsd:extension>
        </xsd:complexContent>


eclipse.bpmn2 on the other hand cannot follow this sequence as defined. Bypassing Semantic.xsd fixes the issue  :)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/627900#627900]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110921/96936525/attachment.html 


More information about the jboss-user mailing list