EMF for XSD (XML Schema)

Please note the following important differences between XSDs and Ecore Models regarding multiple inheritance:

'EMF's EClass supports multiple inheritance, which allows you to mix-in structural features like attributes at multiple places in your generated class hiearchy. However, the java language does not support multiple class inheritance, so the actual implementation behind the shared java interface is generated multiple times.'

'XML Schemas do not support multiple inheritance. A Complex Type can only extend one other Complex Type.

As an approximation, XSDs allow attribute groups do be define. They can be reused multiple times. However, each time an attribute group is reused, it is treated as a copy of those attributes, rather than a shared reference.'