|
Re: multiple files for XSD emf models [message #552007 is a reply to message #551952] |
Tue, 10 August 2010 14:03 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Hauke,
Comments below.
Hauke Fuhrmann wrote:
> Hi there,
>
> we have a given legacy XML format that we want to get into EMF. We
> have successfully imported the XSD and generated model code and so on.
> Hence we are able to correctly load single files for that language.
>
> However, the language defines an implicit way of referencing other
> files. E.g.
>
> file1.main.suf
> file1.foo.suf
> file1.bar.suf
Implicit?
>
> The user loads the "main" file and that references elements from the
> "foo" and the "bar" file.
> Is there any way to teach EMF file references correctly that are in a
> custom syntax or even implicit?
Maybe, but I don't understand what you're hoping to see in the Ecore
model and what's actually there in the XML Schema. Are these values of
type anyURI?
> Maybe something like a FileReferenceProvider or whatever?
>
> Cheers,
> Hauke
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03040 seconds