[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.emf] Re: Element Ordering in EMF Serialization

Kamesh,

Comments below.

Kamesh Sampath wrote:
Hi Ed,

Thanks for the info . I have couple of questions there , am creating the model from scratch using Ecore and not using the XSD.
You'll have a much easier time if you write a small XSD, generate your Ecore model from that, and then use that as the basis for what you're trying. The odds of doing it correctly from scratch directly in Ecore seem low.
I tried to add the annotation name->:mixed and kind->elementWildCard set to the correspoding Eclass, I had also set the EXTENDED_META_DATA option to true to check it , but its still getting seralized as groups i.e all text appear first then all paragraphs etc., though I added the text, paragraph, text when i created the model .
Did you read the article to understand how mixed text works?

Can you please let me know whether the options and metadata that i had set is correct or I am missing something ?
It sounds okay but likely you missed something... Best to create a working schema-based example...

Thanks. Kamesh