[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.emf] Re: Map datatype in XML Schema
|
- From: jackycct@xxxxxxxxxxxxxx (Jacky)
- Date: Mon, 24 Nov 2003 02:07:06 +0000 (UTC)
- Newsgroups: eclipse.tools.emf
- Organization: http://news.eclipse.org
- User-agent: NewsPortal/0.25 (http://florian-amrhein.de/newsportal/)
Hi Ed Merks,
Thanks for your timely response~
So for this moment, I should resort to use annotated java to generate EMF?
Best Regards,
Jacky
Ed Merks wrote:
> Jacky,
> I suppose that you would want to use key/keyref to do that, but the XML
Schema
> to Ecore conversion ignores key/keyref declarations, so there's no way to
> start with an XML Schema and end up with a EMap in EMF (if that's your goal).
> We're considering such support in 2.0, but we have a mountain of work...
> Jacky wrote:
> > Hi all,
> >
> > I am writing an XML schema to specify a map relationship in EMF model.
> > For example, class A contains a map of class B, so that I retrieve class B
> > using a key.
> > Would anyone give me an example on how define such relationship using XML
> > schema?
> >
> > thanks in advance.
> >
> > Best Regards,
> > Jacky