Skip to main content



      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 06:53
Eclipse UserFriend
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 07:11] by 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: Mon Jul 07 15:44:36 EDT 2025

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

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

Back to the top