Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [TCS] Problem with serializer
[TCS] Problem with serializer [message #615777] Tue, 22 April 2008 22:21
Guillaume Hillairet is currently offline Guillaume HillairetFriend
Messages: 93
Registered: July 2009
Hi all,

I'm trying to finalize a TCS project but i have some problems with the
Here is a problematic extract of an input file:

PREFIX vcard: <>

which is defined like this in my TCS:

template PrefixDecl addToContext
: "PREFIX" name <no_space> ":" iref{as = uriSymbol}

an uriSymbol is defined like this:

primitiveTemplate uriSymbol for String default using IRI:
value = "%token%",
serializer="'<' + %value%.toCString() + '>'";

: '<'!
%v3 (setText($text.substring(1, $text.length() - 1));}

In fact, the injection process goes well, but when trying an extraction i
obtain this:

PREFIX vcard: ""

It seems that the serializer from the uriSymbol primitiveTemplate is not
taken in account !
How can i resolve this ?

Previous Topic:[TCS] Problem with running TCS
Next Topic:Problem with serializer 2 [model to text]
Goto Forum:

Current Time: Fri May 25 18:58:47 GMT 2018

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top