Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EcoreToXSD transformation into a unique schema file.
EcoreToXSD transformation into a unique schema file. [message #415320] Wed, 12 December 2007 13:04 Go to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Hi everybody, I've been looking around in the newsgroup and the
available documentation, and found nothing related.
It is a simple question, which may be incorrect altogether, as I'm not
XSD-literate. If so, please forgive me.

What I'm trying to do is to configure the Ecore to XSD exportation so
that it generates a unique xsd file. By default it generates a xsd file
for each package in the model.
Is there a simple way to do this (perhaps a boolean variable or a
configuration flag under preferences), or should I start thinking of
modifying the code?.

Thank you all in advance.
Regards,
Juan Pedro
Re: EcoreToXSD transformation into a unique schema file. [message #415331 is a reply to message #415320] Wed, 12 December 2007 15:04 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Juan Pedro,

Well, each schema declares a target namespace and that corresponds
directly to an EPackage's nsURI, so I don't seem how multiple packages
can properly generate just one schema.


Juan Pedro Silva wrote:
> Hi everybody, I've been looking around in the newsgroup and the
> available documentation, and found nothing related.
> It is a simple question, which may be incorrect altogether, as I'm not
> XSD-literate. If so, please forgive me.
>
> What I'm trying to do is to configure the Ecore to XSD exportation so
> that it generates a unique xsd file. By default it generates a xsd
> file for each package in the model.
> Is there a simple way to do this (perhaps a boolean variable or a
> configuration flag under preferences), or should I start thinking of
> modifying the code?.
>
> Thank you all in advance.
> Regards,
> Juan Pedro


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EcoreToXSD transformation into a unique schema file. [message #415333 is a reply to message #415331] Wed, 12 December 2007 16:06 Go to previous message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Ok Ed, thanks for your reply.
Excuse me for the nonsense.

Ed Merks escribió:
> Juan Pedro,
>
> Well, each schema declares a target namespace and that corresponds
> directly to an EPackage's nsURI, so I don't seem how multiple packages
> can properly generate just one schema.
>
>
> Juan Pedro Silva wrote:
>> Hi everybody, I've been looking around in the newsgroup and the
>> available documentation, and found nothing related.
>> It is a simple question, which may be incorrect altogether, as I'm
>> not XSD-literate. If so, please forgive me.
>>
>> What I'm trying to do is to configure the Ecore to XSD exportation so
>> that it generates a unique xsd file. By default it generates a xsd
>> file for each package in the model.
>> Is there a simple way to do this (perhaps a boolean variable or a
>> configuration flag under preferences), or should I start thinking of
>> modifying the code?.
>>
>> Thank you all in advance.
>> Regards,
>> Juan Pedro
Previous Topic:Howto register an Ecore model for the 'Sample Reflective Ecore Model Editor'?
Next Topic:Generating code without EMF dependencies
Goto Forum:
  


Current Time: Thu Apr 25 17:52:26 GMT 2024

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

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

Back to the top