I am working on a project that extends the org.eclipse.xsd module. There seem to be two problems regarding the handling of complexType.
1. The attributes of the complexContent element are lost when loading an xsd schema into the ecore model, and then deriving the xsd from the model again.
For example, when running XSDMainExample::loadAndPrint (in org.eclipse.xsd.example) for the xsd file example 1 (is attached), then the attributes of the complexContent element are lost.
2. The complexContent element and restriction element are (sometimes) lost. Probably because attribute value 'anyType' of the attribute base of the restriction element. See example 2.
Are these bugs? Should I enter a bugzilla, or is there a workaround?