Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339800 - [serializer] Serializer fails when Model is derived from XSD
Summary: [serializer] Serializer fails when Model is derived from XSD
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext Backlog (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 12:32 EST by Karsten Becker CLA
Modified: 2012-11-21 01:40 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Becker CLA 2011-03-12 12:32:56 EST
Build Identifier: I20110310-1119

Based upon a XSD I generated an ecore Model. I then created a XText project based on this Model. This almost works, except for serializing a model. The problem in this model is most likely this:
28:DocumentRoot.module->ModuleType.title->TitleIncludable: "author { [ firstname "Karsten" surname "Becker" ] }...":
  -> TitleIncludable_TextAssignment_0_1_1_0: All 1 values of Text(TitleIncludable).text have been consumed. More are needed to continue here.
  -> TitleIncludable_AbbreviationAssignment_0_1_1_1: All 1 values of Text(TitleIncludable).abbreviation have been consumed. More are needed to continue here.

Reproducible: Always

Steps to Reproduce:
Download the workspace at http://karsten-becker.de/workspace27.zip
Run the RunStandalone class in the generator project.
What I attempted here is a round-trip: disk -> model -> xml -> model -> disk
Comment 1 Karsten Becker CLA 2011-03-12 12:35:44 EST
Sorry, link was meant to be http://karsten-becker.de/workspace37.zip

Addendum: The XML output looks just fine.