Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Comparing 2 XML schemas
[EMF Compare] Comparing 2 XML schemas [message #130183] Wed, 15 October 2008 09:30 Go to next message
Muhamad Nazir is currently offline Muhamad NazirFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I would like to know whether I can load and compare 2 xml schemas. I just
downloaded Eclipse Ganymede and tried loading 2 different Projects based
on 2 different sets of XML schemas. I wonder how can I diff between 2
models. Any idea?

Thanks
Re: [EMF Compare] Comparing 2 XML schemas [message #130197 is a reply to message #130183] Wed, 15 October 2008 09:58 Go to previous messageGo to next message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060507070501010608060103
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Nazir,

Comparing you XML schemas should be possible if you are able to load
them within Eclipse. The Eclipse wiki page for EMF Compare (
http://wiki.eclipse.org/index.php/EMF_Compare ) should provide you with
all needed information. More specifically, take a look at
http://wiki.eclipse.org/Comparing_XML_files_with_EMF_Compare and
http://wiki.eclipse.org/EMF_Compare_FAQ .

Regards

Muhamad Nazir a
Re: [EMF Compare] Comparing 2 XML schemas [message #130304 is a reply to message #130197] Mon, 20 October 2008 02:58 Go to previous messageGo to next message
Muhamad Nazir is currently offline Muhamad NazirFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks for the prompt response, laurent.

I have another question. Sorry for being a newbie here as I couldn't find
any help from the links you gave. Should I use the same project to compare
those different set of XML schemas or I can use different projects for
each XML schemas. I have 2 set of XML schemas (with different version, of
course) and I want to compare them to see the changes made for the same
structure e.g. new <element/> added for the similar <complexType/>.

In addition, can I compare these 2 sets of XML schemas programmatically
(without Eclipse)?

Zillion thanks,again.

laurent Goubet wrote:

> Hi Nazir,

> Comparing you XML schemas should be possible if you are able to load
> them within Eclipse. The Eclipse wiki page for EMF Compare (
> http://wiki.eclipse.org/index.php/EMF_Compare ) should provide you with
> all needed information. More specifically, take a look at
> http://wiki.eclipse.org/Comparing_XML_files_with_EMF_Compare and
> http://wiki.eclipse.org/EMF_Compare_FAQ .

> Regards

> Muhamad Nazir a écrit :
>> Hi,
>>
>> I would like to know whether I can load and compare 2 xml schemas. I
>> just downloaded Eclipse Ganymede and tried loading 2 different Projects
>> based on 2 different sets of XML schemas. I wonder how can I diff
>> between 2 models. Any idea?
>>
>> Thanks
>>
Re: [EMF Compare] Comparing 2 XML schemas [message #130317 is a reply to message #130304] Mon, 20 October 2008 08:22 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000006090000090107080209
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Muhamad,

You can safely use distinct projects for your XML schemas, so long as
they're both in the same workspace (so as to be compared from Eclipse).

You can use EMF Compare programmatically with or without Eclipse. An
example is accessible on CVS for this. You can find the link on
http://wiki.eclipse.org/EMF_Compare_FAQ#How_can_I_use_EMF_Co mpare_programmatically.3F

Hope this helps.

Laurent Goubet
Obeo

Muhamad Nazir a
Re: [EMF Compare] Comparing 2 XML schemas [message #620350 is a reply to message #130183] Wed, 15 October 2008 09:58 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------060507070501010608060103
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Nazir,

Comparing you XML schemas should be possible if you are able to load
them within Eclipse. The Eclipse wiki page for EMF Compare (
http://wiki.eclipse.org/index.php/EMF_Compare ) should provide you with
all needed information. More specifically, take a look at
http://wiki.eclipse.org/Comparing_XML_files_with_EMF_Compare and
http://wiki.eclipse.org/EMF_Compare_FAQ .

Regards

Muhamad Nazir a
Re: [EMF Compare] Comparing 2 XML schemas [message #620358 is a reply to message #130197] Mon, 20 October 2008 02:58 Go to previous message
Muhamad Nazir is currently offline Muhamad NazirFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks for the prompt response, laurent.

I have another question. Sorry for being a newbie here as I couldn't find
any help from the links you gave. Should I use the same project to compare
those different set of XML schemas or I can use different projects for
each XML schemas. I have 2 set of XML schemas (with different version, of
course) and I want to compare them to see the changes made for the same
structure e.g. new <element/> added for the similar <complexType/>.

In addition, can I compare these 2 sets of XML schemas programmatically
(without Eclipse)?

Zillion thanks,again.

laurent Goubet wrote:

> Hi Nazir,

> Comparing you XML schemas should be possible if you are able to load
> them within Eclipse. The Eclipse wiki page for EMF Compare (
> http://wiki.eclipse.org/index.php/EMF_Compare ) should provide you with
> all needed information. More specifically, take a look at
> http://wiki.eclipse.org/Comparing_XML_files_with_EMF_Compare and
> http://wiki.eclipse.org/EMF_Compare_FAQ .

> Regards

> Muhamad Nazir a écrit :
>> Hi,
>>
>> I would like to know whether I can load and compare 2 xml schemas. I
>> just downloaded Eclipse Ganymede and tried loading 2 different Projects
>> based on 2 different sets of XML schemas. I wonder how can I diff
>> between 2 models. Any idea?
>>
>> Thanks
>>
Re: [EMF Compare] Comparing 2 XML schemas [message #620359 is a reply to message #130304] Mon, 20 October 2008 08:22 Go to previous message
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1902
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------000006090000090107080209
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Muhamad,

You can safely use distinct projects for your XML schemas, so long as
they're both in the same workspace (so as to be compared from Eclipse).

You can use EMF Compare programmatically with or without Eclipse. An
example is accessible on CVS for this. You can find the link on
http://wiki.eclipse.org/EMF_Compare_FAQ#How_can_I_use_EMF_Co mpare_programmatically.3F

Hope this helps.

Laurent Goubet
Obeo

Muhamad Nazir a
Previous Topic:[Ecore Diagram] Class diagrams of classes spanning 2 or more packages
Next Topic:[Tenco] library editor tutorial
Goto Forum:
  


Current Time: Fri Apr 19 04:36:56 GMT 2024

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

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

Back to the top