Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » emf from schema problem
emf from schema problem [message #621307] Thu, 13 August 2009 12:33
Guido Schnider is currently offline Guido SchniderFriend
Messages: 6
Registered: July 2009
Junior Member
I have a schema ( where
the xml output should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<lesson title="Introduction to Database Systems"

But when I generate an EMF Model from the schema I do not get an
ElmlFactory.createLesson(); but only an ElmlFactory.createLessonType();

which looks like this when saved as xml to a file:

<?xml version="1.0" encoding="utf-8"?>
<elml:LessonType xmlns:elml="" title="this is a title"/>

What am I doing wrong?

ps: I'm using the generated model standalone without eclipse 3.4 and
running eclipse with emf 2.4.x
Previous Topic:emf from schema problem
Next Topic:Getting started with Eclipse EMF Ecore
Goto Forum:

Current Time: Mon Mar 04 13:01:13 GMT 2024

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

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

Back to the top