"where" clause [message #997096] |
Thu, 03 January 2013 16:15 |
Fabio L. S. Messages: 15 Registered: July 2010 Location: Brazil |
Junior Member |
|
|
I'm trying to use the "where" clause in a QVTo mapping, but I can't make it work. The word is highlighted as a correct token, but either the messages '"where" unexpected token(s)' or '"when" expected instead of "where"' appear.
A trivial example:
mapping UML::Package::example() : RDB::Schema
where {
result.name.size() > 4
}
{
result.name := self.name;
}
Am I doing something wrong?
Regards;
Fabio Levy Siqueira
|
|
|
|
Re: "where" clause [message #997107 is a reply to message #997101] |
Thu, 03 January 2013 18:04 |
Fabio L. S. Messages: 15 Registered: July 2010 Location: Brazil |
Junior Member |
|
|
Hi Ed;
Yes, you are right. But I couldn't imagine a simple and yet interesting example for a "where" clause. That's why I used this example. (In fact, I'm not sure if this clause is really necessary for QVTo - differently from QVTd).
Nevertheless, thanks. I will raise a bug.
Regards;
Fabio Levy Siqueira
|
|
|
Powered by
FUDForum. Page generated in 0.03225 seconds