Home » Archived » XML Schema Definition (XSD) » Wrong mapping from XSD to EMF? BPEL schema
Wrong mapping from XSD to EMF? BPEL schema [message #38716] |
Mon, 15 March 2004 15:28 |
Eclipse User |
|
|
|
Originally posted by: wah.zurich.ibm.com
Hi everyone,
I created an EMF project that is based on an XML schema definition, in
particular the schema of a BPEL model. BPEL is a language used to
defined business processes. Its schema can be seen here:
http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
In the generated editor, strange things can be modelled. There are at
least 3 things that worry me:
- Each type can be used only once throughout the whole model (e.g., a
Sequence).
- The root node of the model, Process, is intended to have exactly one
child. When I loaded the XSD file in XML Spy, this is clearly visible.
In the generated model editor, however, a Process can have more than one
child.
- The last thing is that an element such a Sequence may only have
children of type Target and Source. This means that no activities can be
defined within the sequence.
Am I doing something wrong?
Michael
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #38749 is a reply to message #38716] |
Mon, 15 March 2004 15:50 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Michael,
I don't understand your comment about "each type can be used only once".
What are you referring to here? Looking at the definition for tProcess, it
looks like it specifies many element children, so I'm confused by your one
child only comment. I don't understand the comment about Sequence either,
target and source appearch to be things on tActivity not tSequence. Could
you more clearly state what the problem is in each case?
Michael Wahler wrote:
> Hi everyone,
>
> I created an EMF project that is based on an XML schema definition, in
> particular the schema of a BPEL model. BPEL is a language used to
> defined business processes. Its schema can be seen here:
>
> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
>
> In the generated editor, strange things can be modelled. There are at
> least 3 things that worry me:
>
> - Each type can be used only once throughout the whole model (e.g., a
> Sequence).
>
> - The root node of the model, Process, is intended to have exactly one
> child. When I loaded the XSD file in XML Spy, this is clearly visible.
> In the generated model editor, however, a Process can have more than one
> child.
>
> - The last thing is that an element such a Sequence may only have
> children of type Target and Source. This means that no activities can be
> defined within the sequence.
>
> Am I doing something wrong?
>
> Michael
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #38783 is a reply to message #38749] |
Mon, 15 March 2004 16:38 |
Eclipse User |
|
|
|
Originally posted by: wah.zurich.ibm.com
Hi Ed,
thank you for taking the time.
Ok, I haven't explained the problem well. As far as I understand it,
tProcess may have exactly one child of the 'activity' group due to the
'choice' markup. The editor however lets me create several activities as
a tProcess' children.
The sequence problem: Within a tFlow, I can have two parallel
tSequences. In theory. I cannot create a second tFlow child of type
tSequence when there already exists a child of type tSequence.
Ed Merks wrote:
> Michael,
>
> I don't understand your comment about "each type can be used only once".
> What are you referring to here? Looking at the definition for tProcess, it
> looks like it specifies many element children, so I'm confused by your one
> child only comment. I don't understand the comment about Sequence either,
> target and source appearch to be things on tActivity not tSequence. Could
> you more clearly state what the problem is in each case?
>
>
> Michael Wahler wrote:
>
>
>>Hi everyone,
>>
>>I created an EMF project that is based on an XML schema definition, in
>>particular the schema of a BPEL model. BPEL is a language used to
>>defined business processes. Its schema can be seen here:
>>
>> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
>>
>>In the generated editor, strange things can be modelled. There are at
>>least 3 things that worry me:
>>
>>- Each type can be used only once throughout the whole model (e.g., a
>>Sequence).
>>
>>- The root node of the model, Process, is intended to have exactly one
>>child. When I loaded the XSD file in XML Spy, this is clearly visible.
>>In the generated model editor, however, a Process can have more than one
>>child.
>>
>>- The last thing is that an element such a Sequence may only have
>>children of type Target and Source. This means that no activities can be
>>defined within the sequence.
>>
>>Am I doing something wrong?
>>
>>Michael
>
>
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #38815 is a reply to message #38783] |
Mon, 15 March 2004 17:07 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Michael,
A choice is mapped to series of optional features and there is currently no
enforcement that these optional features should be mutually exclusive; bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=51210 asks for this.
Michael Wahler wrote:
> Hi Ed,
>
> thank you for taking the time.
>
> Ok, I haven't explained the problem well. As far as I understand it,
> tProcess may have exactly one child of the 'activity' group due to the
> 'choice' markup. The editor however lets me create several activities as
> a tProcess' children.
>
> The sequence problem: Within a tFlow, I can have two parallel
> tSequences. In theory. I cannot create a second tFlow child of type
> tSequence when there already exists a child of type tSequence.
>
> Ed Merks wrote:
> > Michael,
> >
> > I don't understand your comment about "each type can be used only once".
> > What are you referring to here? Looking at the definition for tProcess, it
> > looks like it specifies many element children, so I'm confused by your one
> > child only comment. I don't understand the comment about Sequence either,
> > target and source appearch to be things on tActivity not tSequence. Could
> > you more clearly state what the problem is in each case?
> >
> >
> > Michael Wahler wrote:
> >
> >
> >>Hi everyone,
> >>
> >>I created an EMF project that is based on an XML schema definition, in
> >>particular the schema of a BPEL model. BPEL is a language used to
> >>defined business processes. Its schema can be seen here:
> >>
> >> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
> >>
> >>In the generated editor, strange things can be modelled. There are at
> >>least 3 things that worry me:
> >>
> >>- Each type can be used only once throughout the whole model (e.g., a
> >>Sequence).
> >>
> >>- The root node of the model, Process, is intended to have exactly one
> >>child. When I loaded the XSD file in XML Spy, this is clearly visible.
> >>In the generated model editor, however, a Process can have more than one
> >>child.
> >>
> >>- The last thing is that an element such a Sequence may only have
> >>children of type Target and Source. This means that no activities can be
> >>defined within the sequence.
> >>
> >>Am I doing something wrong?
> >>
> >>Michael
> >
> >
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #584144 is a reply to message #38716] |
Mon, 15 March 2004 15:50 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Michael,
I don't understand your comment about "each type can be used only once".
What are you referring to here? Looking at the definition for tProcess, it
looks like it specifies many element children, so I'm confused by your one
child only comment. I don't understand the comment about Sequence either,
target and source appearch to be things on tActivity not tSequence. Could
you more clearly state what the problem is in each case?
Michael Wahler wrote:
> Hi everyone,
>
> I created an EMF project that is based on an XML schema definition, in
> particular the schema of a BPEL model. BPEL is a language used to
> defined business processes. Its schema can be seen here:
>
> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
>
> In the generated editor, strange things can be modelled. There are at
> least 3 things that worry me:
>
> - Each type can be used only once throughout the whole model (e.g., a
> Sequence).
>
> - The root node of the model, Process, is intended to have exactly one
> child. When I loaded the XSD file in XML Spy, this is clearly visible.
> In the generated model editor, however, a Process can have more than one
> child.
>
> - The last thing is that an element such a Sequence may only have
> children of type Target and Source. This means that no activities can be
> defined within the sequence.
>
> Am I doing something wrong?
>
> Michael
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #584170 is a reply to message #38749] |
Mon, 15 March 2004 16:38 |
Michael Wahler Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hi Ed,
thank you for taking the time.
Ok, I haven't explained the problem well. As far as I understand it,
tProcess may have exactly one child of the 'activity' group due to the
'choice' markup. The editor however lets me create several activities as
a tProcess' children.
The sequence problem: Within a tFlow, I can have two parallel
tSequences. In theory. I cannot create a second tFlow child of type
tSequence when there already exists a child of type tSequence.
Ed Merks wrote:
> Michael,
>
> I don't understand your comment about "each type can be used only once".
> What are you referring to here? Looking at the definition for tProcess, it
> looks like it specifies many element children, so I'm confused by your one
> child only comment. I don't understand the comment about Sequence either,
> target and source appearch to be things on tActivity not tSequence. Could
> you more clearly state what the problem is in each case?
>
>
> Michael Wahler wrote:
>
>
>>Hi everyone,
>>
>>I created an EMF project that is based on an XML schema definition, in
>>particular the schema of a BPEL model. BPEL is a language used to
>>defined business processes. Its schema can be seen here:
>>
>> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
>>
>>In the generated editor, strange things can be modelled. There are at
>>least 3 things that worry me:
>>
>>- Each type can be used only once throughout the whole model (e.g., a
>>Sequence).
>>
>>- The root node of the model, Process, is intended to have exactly one
>>child. When I loaded the XSD file in XML Spy, this is clearly visible.
>>In the generated model editor, however, a Process can have more than one
>>child.
>>
>>- The last thing is that an element such a Sequence may only have
>>children of type Target and Source. This means that no activities can be
>>defined within the sequence.
>>
>>Am I doing something wrong?
>>
>>Michael
>
>
|
|
|
Re: Wrong mapping from XSD to EMF? BPEL schema [message #584180 is a reply to message #38783] |
Mon, 15 March 2004 17:07 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
Michael,
A choice is mapped to series of optional features and there is currently no
enforcement that these optional features should be mutually exclusive; bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=51210 asks for this.
Michael Wahler wrote:
> Hi Ed,
>
> thank you for taking the time.
>
> Ok, I haven't explained the problem well. As far as I understand it,
> tProcess may have exactly one child of the 'activity' group due to the
> 'choice' markup. The editor however lets me create several activities as
> a tProcess' children.
>
> The sequence problem: Within a tFlow, I can have two parallel
> tSequences. In theory. I cannot create a second tFlow child of type
> tSequence when there already exists a child of type tSequence.
>
> Ed Merks wrote:
> > Michael,
> >
> > I don't understand your comment about "each type can be used only once".
> > What are you referring to here? Looking at the definition for tProcess, it
> > looks like it specifies many element children, so I'm confused by your one
> > child only comment. I don't understand the comment about Sequence either,
> > target and source appearch to be things on tActivity not tSequence. Could
> > you more clearly state what the problem is in each case?
> >
> >
> > Michael Wahler wrote:
> >
> >
> >>Hi everyone,
> >>
> >>I created an EMF project that is based on an XML schema definition, in
> >>particular the schema of a BPEL model. BPEL is a language used to
> >>defined business processes. Its schema can be seen here:
> >>
> >> http://www-106.ibm.com/developerworks/library/ws-bpel/#appen dixd
> >>
> >>In the generated editor, strange things can be modelled. There are at
> >>least 3 things that worry me:
> >>
> >>- Each type can be used only once throughout the whole model (e.g., a
> >>Sequence).
> >>
> >>- The root node of the model, Process, is intended to have exactly one
> >>child. When I loaded the XSD file in XML Spy, this is clearly visible.
> >>In the generated model editor, however, a Process can have more than one
> >>child.
> >>
> >>- The last thing is that an element such a Sequence may only have
> >>children of type Target and Source. This means that no activities can be
> >>defined within the sequence.
> >>
> >>Am I doing something wrong?
> >>
> >>Michael
> >
> >
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Fri Apr 26 14:14:56 GMT 2024
Powered by FUDForum. Page generated in 0.03732 seconds
|