cxf-xjv-dv-test: test case added but fails.
-------------------------------------------
Key: CXF-1195
URL: https://issues.apache.org/jira/browse/CXF-1195
Project: CXF
Issue Type: Test
Affects Versions: 2.1
Environment: macOSX, java1.5
Reporter: kombi
I created a test case for elements that are defaulted and use a simpleType is:
<xs:simpleType name="drivingDecision">
<xs:restriction base="xs:string">
<xs:enumeration value="RightTurn"/>
<xs:enumeration value="LeftTurn"/>
<xs:enumeration value="U-Turn"/>
</xs:restriction>
</xs:simpleType>
with a line added in complexType "foo":
<xs:element name="driving" type="tns:drivingDecision" default="LeftTurn"
minOccurs="0"></xs:element>
And a test added in DefaultValueTest.java under method:
assertDefaultElementValues( Foo foo ):
assertEquals("Unexpected value for element driving", "LeftTurn",
foo.getDriving());
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.