Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Is EMF Compare adapted to implement a generic XML compare ?
Is EMF Compare adapted to implement a generic XML compare ? [message #666446] Wed, 20 April 2011 13:38 Go to next message
Philippe Favrais is currently offline Philippe FavraisFriend
Messages: 23
Registered: April 2011
Junior Member
Hello,
I am looking for a basis to start implementing an xml comparator. Form what i read so far about EMF Compare is that i first need and XSD which i have to transform to ECORE and then i can start implementing my comparator.
In my case, i do not have the XSD in advance, i should be able to compare 2 xml corresponding to the same XSD, but the XSD are not known in advance.
Therefore i wonder whether EMF Compare is adapted to what i need to implement.
Thank you for your help
Philippe
Re: Is EMF Compare adapted to implement a generic XML compare ? [message #666459 is a reply to message #666446] Wed, 20 April 2011 13:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Philippe,

When you say 'the XSD are not known in advance' it's not known in
advance of what? It needs to be known before you read your instance
files, or at least while your reading them. EMF can dynamically
convert and XSD to an Ecore which is then used to read the XML (without
generating a model for the Ecore). The compare framework should be able
to deal with such a dynamic Ecore model.



Philippe Favrais wrote:
> Hello,
> I am looking for a basis to start implementing an xml comparator. Form
> what i read so far about EMF Compare is that i first need and XSD
> which i have to transform to ECORE and then i can start implementing
> my comparator.
> In my case, i do not have the XSD in advance, i should be able to
> compare 2 xml corresponding to the same XSD, but the XSD are not known
> in advance. Therefore i wonder whether EMF Compare is adapted to what
> i need to implement.
> Thank you for your help
> Philippe
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EEF] how to restrict available options for non containment references?
Next Topic:[EMF COMPARE]
Goto Forum:
  


Current Time: Thu Mar 28 16:35:32 GMT 2024

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

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

Back to the top