QVT 1.4 RTF Avatar
  1. OMG Issue

QVT14 — QVTo - Confusing reference to modulo operator

  • Key: QVT14-44
  • Status: open  
  • Source: Model Driven Solutions ( Dr. Edward Willink)
  • Summary:

    The "The potential ambiguity with the modulo operator is solved thanks to the type of the first argument, which is a string in our case." text implies that either QVTo or OCL provides a modulo operator. OCL <= 2.4 does not. QVTo's grammar defines '% as a mult_op, perhaps just as the format shorthand, there are certainly no defined semantics such as what data types are applicable, how zero is accommodated.

    (Eclipse QVTo does not provide any % operator.)

    Suggest, delete the confusing sentence.

  • Reported: QVT 1.3 — Mon, 19 Dec 2016 09:38 GMT
  • Updated: Mon, 19 Dec 2016 09:38 GMT