|
|
|
Re: Keyword escape and compound name [message #651622 is a reply to message #651604] |
Mon, 31 January 2011 22:42 |
Sebastian Zarnekow Messages: 3118 Registered: July 2009 |
Senior Member |
|
|
Hi,
make sure to register a value converter for your qualified name rule.
Please refer to the documentation for details.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 31.01.11 21:35, schrieb crapo@research.ge.com:
> The "rdf:type" was an example only. Any keyword could potentially be
> used in some RDF vocabulary in some namespace. The beauty of the escape
> character is that it allows a keyword to be used in some context as a
> user concept, e.g., "^type". However, when the user concept that colides
> with a keyword requires a prefix to disambiguate it, e.g., "rdf:type"
> versus "dc:type", it doesn't seem possible to use the escape character
> to get the Xtext-generated parser to handle the name correctly, that is,
> to treat the keyword as a user-defined name in that specific instance.
> Is there someway to use the escape character in a qualified name?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03045 seconds