I have another problem with the XML code generation under 1.1.2.1.

Suppose we have this schema:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; elementFormDefault="unqualified">
        <xs:attribute name="Attribute">
                <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                                <xs:enumeration value="foo"/>
                                <xs:enumeration value="bar"/>
                                <xs:enumeration value="baz"/>
                        </xs:restriction>
                </xs:simpleType>
        </xs:attribute>
        <xs:element name="Element">
                <xs:complexType>
                        <xs:attribute ref="Attribute" use="required"/>
                </xs:complexType>
        </xs:element>
</xs:schema>

When I generate the Java classes (no marshalling) from this schema, I should have an Element class and an ElementAttribute class. However, Element has in its member an "types.AttributeType" and not a types.ElementAttributeType, as it should be.

Any known workarounds for this?

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to