| Summary: | [serializer] Serializer fails when Model is derived from XSD | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Karsten Becker <eclipse> |
| Component: | Xtext Backlog | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | moritz.eysholdt |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Sorry, link was meant to be http://karsten-becker.de/workspace37.zip Addendum: The XML output looks just fine. |
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