emf from schema problem [message #480000] |
Thu, 13 August 2009 12:33 |
Guido Schnider Messages: 6 Registered: July 2009 |
Junior Member |
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02761 seconds