Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Setting List<String> Attribute for XML-Element
Setting List<String> Attribute for XML-Element [message #661137] Wed, 23 March 2011 10:53
suithedoc is currently offline suithedoc
Messages: 34
Registered: February 2010
Member
Hi,

I created an Ecore model out of a xml-schema file.
After that, I generated the model, edit and editor projects...... no problems till there.

The original XML language contains an element with an attribute for a space separated list of variables.
</ExampleElem listAttr="var1 var2 var3">

My problem is, that I can not set this attribute in the Properties Window in the generated editor.

The XSDtoEcore generater created a new DataType (ListAttrTypeDatatype) that inherits from java.util.List .
One of the ExtendedMetaData is
 pattern -> [\c\*]+


Does anyone know the problem ?

Thank you very much in advance!

[Updated on: Wed, 23 March 2011 11:11]

Report message to a moderator

Previous Topic:[Teneo] Teneo 1.0.3 generates foreign key index names too long for Oracle
Next Topic:EMF automatically change "pathmap:/" by "platform:/plugin"
Goto Forum:
  


Current Time: Tue Sep 23 20:38:42 GMT 2014

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

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