Skip to main content



      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 09:38 Go to next message
Eclipse UserFriend
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 09:57 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:[EEF] how to restrict available options for non containment references?
Next Topic:[EMF COMPARE]
Goto Forum:
  


Current Time: Tue Jul 22 19:01:17 EDT 2025

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

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

Back to the top