[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.emf] Re: i can't understand FeatureMap and...

MinHyuk,

Comments below.


MinHyuk wrote:
thank for your help!

when i save this comment object, Any type appear like this:
[code]
<comment height="43" localId="5" width="106">
<position x="67" y="198"/>
<content>
<Tag xsi:type="xsd:AnyType">
this is comment </Tag>
Are you using the generated resource factory for saving your instance as illustrated in the generated XzyExample.java in the *.tests project that's created when you invoke Generate Test Code in the Generator?
    </content>
  </comment>
[/code]

but, I want to like this:
[code]
<comment height="43" localId="5" width="106">
<position x="67" y="198"/>
<content>
this is comment
</content>
</comment>
[/code]
What does the element declaration for content look like?

another problem~~
first code in this article can't load but can save!
The article contains a link to a sample project that works correctly. I just verified that it will works correctly.
i try to modify Resource save option and load option, but it's does not fixed.

help me again~ ^^; you are my hope~