Community
Participate
Working Groups
Build Identifier: 20100617-1415 The following ecore model shows an error due to the fact that the + operator cannot be used for String Concatenation. This is syntactic sugar but mostly used in other OCL languages. The intereseting thing is, that the following code compiles: package files : files = 'http://files' { class BPELProject { attribute path : String[1]; operation testConcat() : String { body: path + 'asdf'; } } } However, the methods throw an exception using OCL console that the + operator is undefined for strings. Reproducible: Always Steps to Reproduce: 1.See details.
*** This bug has been marked as a duplicate of bug 281710 ***