Attribute of type XMLGregorianCalendar [message #884169] |
Sun, 10 June 2012 05:46  |
Eclipse User |
|
|
|
Dear all,
in my Xtext grammar I am referring to an existing ecore-model (RMF's ReqIF10). One of the attributes has a type of XMLGregorianCalendar and I am wondering how to get that into the grammar. I have written a ValueConverter but I am having problems with the Xtext syntax.
I was trying something like
....
('change' lastChange=XDATE)?
....
terminal XDATE returns javax::xml::datatype::XMLCregorianCalendar:
STRING
;
But I have not found any way to specify something after "returns" that Xtext does not complain about.
Any help is appreciated,
Regards,
Andreas
|
|
|
|
Powered by
FUDForum. Page generated in 0.05635 seconds