Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355658

Summary: [Marte]VSL grammar : incorrect tuple syntax
Product: [Modeling] Papyrus Reporter: Esteban DUGUEPEROUX <esteban.dugueperoux>
Component: MarteAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Esteban DUGUEPEROUX CLA 2011-08-24 06:28:25 EDT
Build Identifier: 

In VSL.xtext, in the "org.eclipse.papyrus.marte.vsl" plugin, line 94 your define for a Tuple with "listOfValueNamePairs=ListOfValueNamePairs" surounded with '{' '}' instead of '(' ')' as define in the VSL standard. Then the papyrus implementation of the VSL spec is not correct.

Reproducible: Always
Comment 1 Esteban DUGUEPEROUX CLA 2011-08-24 06:37:21 EDT
In addition, in VSLSerializationUtil class used to get a string representation of a VSL Model, method printTuple() uses also '{' '}' instead of '(' ')' as in the standard. Why do you have your own pretty printer instead of using Xtext which can do that from the grammar?