Community
Participate
Working Groups
Created attachment 144566 [details] The discoverer for building a model for a given XML file. Hello, here is a contribution to the MoDisco project. The Generic XML Metamodel represents a subset of concepts defined in W3C XML Recommendation. This post contains two attachments : - org.eclipse.gmt.modisco.techno.xml.discoverer The discoverer and the ui actions for building a model for a given XML file. - org.eclipse.gmt.modisco.techno.xml.discoverer.tests Some Junit tests for discoverer. wiki pages are already available Discoverer User manual : http://wiki.eclipse.org/MoDisco/XMLDiscoverer Authors : Fabien GIQUEL All this contribution is made available under EPL by its different authors whose Employer Consent Forms should have been received by the Foundation.
Created attachment 144567 [details] Discoverer tests
Created attachment 145401 [details] The discoverer for building a model for a given XML file. Renaming the project taking in account recent MoDisco naming conventions.
Created attachment 145402 [details] Discoverer tests Renaming the project taking in account recent MoDisco naming conventions.
Hi Fabien, I just checked your plug-ins (attachment) and I noticed the following issues to be solved: - the name of the main package (and subpackages) has not been updated from "org.eclipse.gmt.modisco.techno.xml" to "org.eclipse.gmt.modisco.xml.discoverer" as it should be (be careful with all the occurences of the previous package's name in the source code, including comments) - the "XMLModelDiscoverer" class (better name than "DiscoverXMLModel") should be upgraded according to the latest version of the "Discoverer" interface (checkout "org.eclipse.gmt.modisco.discoverersmanager" from the SVN in order to get its latest version). Please, could you look at this and resubmit via this bug an upgraded version of the attachment (once you are sure everything is OK)? Best regards, Hugo
Created attachment 147470 [details] The discoverer for building a model for a given XML file. I renamed java packages to conform with plugin project name, and also the main discoverer class.
Created attachment 147471 [details] Discoverer tests I renamed the java package to conform to plugin project name.
Thanks again Fabien. It seems OK for the "discoverer" plug-in. However, I found something that could be an issue during the review process of the "discoverer.tests" plug-in: the two XML files (from the "resources" folder) which are used for testing the discoverer have external dependencies to WSDL and Struts. Could you replace them by "Eclipse.org" XML files in order to avoid such problems? In the meantime, could you also provide via this bug the required confirmation (usual process)? Best regards, Hugo
I confirm that 1. I, GIQUEL Fabien authored 100% of the content 2. I have the rights to donate the content to Eclipse under the EPL 3. I have already provided the filled Employer Consent Forms to the Foundation
Created attachment 147762 [details] Generix XML Discoverer tests As it was asked, I changed the xml resources for deleting external references.
Thanks Fabien! The IP process has now been launched. I will keep you informed. Best regards, Hugo
Hi Fabien, Your contribution has been approved and has just been committed onto the MoDisco SVN. Best regards, Hugo