[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.emft] emf from schema problem

I have a schema (http://www.olat.org/downloads/material/elml.xsd) where the xml output should look like this:

<?xml version="1.0" encoding="UTF-8"?>
<lesson title="Introduction to Database Systems" xmlns="http://www.elml.ch";>
<unit/>
</lesson>


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="http://www.elml.ch"; 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