|
|
Re: Missing attribute in EMF model for FROM element [message #648641 is a reply to message #648106] |
Thu, 13 January 2011 18:34 |
|
Hi Christoph,
I wouldn't say it's a bug. There is no rule that says the EMF model MUST follow the exact structure of the language it is trying to represent - but it is convenient if it does so
In this case, the expressionLanguage attribute is contained in the FromImpl#query element (it is actually called Query#queryLanguage). I think this is simply a case of re-using existing model objects for multiple purposes instead of defining additional, very similar objects that do the same thing.
I have seen this in several other areas of the model, e.g. ForEach and Catch, which contain a Variable (actually defined as a QName in the BPEL spec) and do some tricky things to get around the fact that this is only an attribute of the ForEach and Catch, and not an XML element as in the case of the <variable> BPEL element.
Regards,
Bob
|
|
|
Powered by
FUDForum. Page generated in 0.03352 seconds