xjc dv plugin doesn't provide default values for complexTypes that contain 
elements
-----------------------------------------------------------------------------------

                 Key: CXF-1206
                 URL: https://issues.apache.org/jira/browse/CXF-1206
             Project: CXF
          Issue Type: Test
    Affects Versions: 2.1
         Environment: MacOSX, Java1.5
            Reporter: kombi
         Attachments: cxf-xjc-dv-test.patch

I created a test case to test this situation:

    <xs:complexType name="pageColor">
        <xs:sequence>
                <xs:element name="background" type="xs:string" default="red"/>
                <xs:element name="foreground" type="xs:string" default="blue"/>
        </xs:sequence>
    </xs:complexType>

<xs:element name="pageColor" type="tns:pageColor" minOccurs="0"></xs:element>

The defaults values are never set.

-- 
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