Codegen not generating fields for attribute group in extended type
------------------------------------------------------------------

                 Key: AXIS2-4175
                 URL: https://issues.apache.org/jira/browse/AXIS2-4175
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.4.1
            Reporter: robert.onslow


I have xsd as follows:

<complexType name="AnnotationType">
                <simpleContent>
                        <extension base="xsd:string">

                                <attribute name="rect.x" 
type="string"></attribute>
                                <attribute name="rect.y" 
type="string"></attribute>
                                <attribute name="rect.width" 
type="string"></attribute>
                                <attribute name="rect.height" 
type="string"></attribute>
                                <attribute name="type" 
type="string"></attribute>
                                <attribute name="red" type="string"></attribute>
                                <attribute name="blue" 
type="string"></attribute>
                                <attribute name="green" 
type="string"></attribute>
                                <attribute name="id" type="string"></attribute>
                                <attribute name="bundleId" 
type="string"></attribute>
                                <attribute name="bundleName" 
type="string"></attribute>
                                <attribute name="pageNumber" 
type="string"></attribute>
                                <attribute ref="pref:categoryRefs"></attribute>
                <attributeGroup ref="collab:collaborative"></attributeGroup>
            </extension>
                </simpleContent>
        </complexType>

does not generate the collab:collaborative attribute group as fields whereas:

<complexType name="CategoryType">
                <attribute name="name" type="string"></attribute>
                <attribute name="id" type="string"></attribute>
                <attribute ref="cat:categoryRefs"></attribute>
        <attributeGroup ref="collab:collaborative"></attributeGroup>
    </complexType>

does generate the collaborative fields correctly.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to