Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » DocumentRoot
DocumentRoot [message #496433] Tue, 10 November 2009 05:27 Go to next message
Ido Mising name is currently offline Ido Mising nameFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,
I'm using EMF, and I created my ecore from XSD.

I notice that the XML that are being saved by the editor have the element DocumentRoot, which is not part of my original XSD. Can I somehow not generate it, so it will not be in the XML files of the editor?

Ido
Re: DocumentRoot [message #496525 is a reply to message #496433] Tue, 10 November 2009 12:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Ido,

It sounds like for some reason the generated resource factory is not
being used to create the resource being used by the editor. What file
extension are you using? Did you change it as some point without
regenerating the plugin.xmls (which must be deleted to be regenerated)?


Ido wrote:
> Hi,
> I'm using EMF, and I created my ecore from XSD.
>
> I notice that the XML that are being saved by the editor have the
> element DocumentRoot, which is not part of my original XSD. Can I
> somehow not generate it, so it will not be in the XML files of the
> editor?
>
> Ido


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Unable to resolve plug-in URIs that contain underscore
Next Topic:peristent XML Schema to Ecore mappings
Goto Forum:
  


Current Time: Sat Apr 27 04:56:48 GMT 2024

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

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

Back to the top