|STRING serialization not producing quotes if no whitespace [message #885083]
||Tue, 12 June 2012 12:40
| Thomas Altenburger
Registered: June 2012
I would like to serialize ecore files conforming to an xtext grammar. I bound the ecore EString type to the STRING terminal (not STRING | ID, as automatically generated when deriving ecore with xtext) because I want strings to be single/double quoted.
The grammar works as expected with the plugin. The problem is that when I tried to serialize an xmi resource through my grammar, EString are not quoted if they do not contain whitespaces (as if they were serialized to ID, despite my grammar).
Any hint on this? Thanks.
[Updated on: Tue, 12 June 2012 12:42]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01704 seconds