Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » multiple files for XSD emf models
multiple files for XSD emf models [message #551952] Tue, 10 August 2010 09:01 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
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

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 something like a
FileReferenceProvider or whatever?

Cheers,
Hauke
Re: multiple files for XSD emf models [message #552007 is a reply to message #551952] Tue, 10 August 2010 14:03 Go to previous message
Ed Merks is currently offline Ed MerksFriend
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/
Previous Topic:Validation constraint provider not invoked
Next Topic:Incomplete EMF conversion to UML2 MModel
Goto Forum:
  


Current Time: Fri Apr 19 19:33:18 GMT 2024

Powered by FUDForum. Page generated in 0.03040 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top