Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365408 - Generating code from Collada 1.4 XSD produces error code
Summary: Generating code from Collada 1.4 XSD produces error code
Status: RESOLVED WORKSFORME
Alias: None
Product: EMF
Classification: Modeling
Component: XML/XMI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 06:03 EST by Waqas Ilyas CLA
Modified: 2011-12-07 10:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Waqas Ilyas CLA 2011-12-02 06:03:12 EST
Build Identifier: I20100608-0911

If we use the Collada 1.4 Schema to produce the genmodel and generate model code, the generated code has syntax errors.

Reproducible: Always

Steps to Reproduce:
1. Download Collada 1.4 schema from http://www.khronos.org/files/collada_schema_1_4
2. Create a new genmodel based on this schema
3. Generate Model code
Comment 1 Ed Merks CLA 2011-12-05 18:35:10 EST
It worked fine for me with EMF 2.7.
Comment 2 Waqas Ilyas CLA 2011-12-07 04:58:59 EST
(In reply to comment #1)
> It worked fine for me with EMF 2.7.

I am using EMF 2.6:
Eclipse Modeling Framework Runtime and Tools
Version: 2.6.0.v20100614-1136
Build id: R201006141136

But I did not test it on 2.7, I will do that soon. If you cannot reproduce it then probably the problem has been solved.
Comment 3 Waqas Ilyas CLA 2011-12-07 09:19:06 EST
(In reply to comment #1)
> It worked fine for me with EMF 2.7.

Ok tried on EMF 2.7.1, everything works fine. Any ideas why this problem is occurring on EMF 2.6 and how I might change the schema to workaround the errors?
Comment 4 Ed Merks CLA 2011-12-07 10:25:50 EST
I don't have 2.6 on my new machine to try it and you've not provided any details I could use to speculate.