EMF Ecore output xmi, can have only text content element ? [message #1002405] |
Fri, 18 January 2013 09:17  |
Eclipse User |
|
|
|
my ecore model like (simplified);
<eClassifiers xsi:type="ecore:EClass" name="IClafer" eSuperTypes="#//IElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isAbstract" lowerBound="1"
eType="ecore:EDataType ...XMLType#//Boolean"
unsettable="true">
</eStructuralFeatures>
</eClassifiers>
my dynamic instance from this model look like;
<?xml version="1.0" encoding="ASCII"?>
<ir:IModule>
<declaration
xsi:type="ir:IClafer">
<isAbstract
value="true"/>
</declaration>
</ir:IModule>
but i want this xmi file (isAbstract with only text element) like;
<?xml version="1.0" encoding="ASCII"?>
<ir:IModule>
<declaration
xsi:type="ir:IClafer">
<isAbstract>false<isAbstract>
</declaration>
</ir:IModule>
So how should I create my eCore file ? (i try all posibility but cant find how can i do)
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04299 seconds