Skip to content

Commit a252ae5

Browse files
committed
Issue #32.
1 parent ac0e49e commit a252ae5

File tree

1 file changed

+7
-0
lines changed
  • full/src/test/resources/org/hisrc/jsonix/samples/zero

1 file changed

+7
-0
lines changed

full/src/test/resources/org/hisrc/jsonix/samples/zero/schema.xsd

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,11 @@
268268
</xs:sequence>
269269
</xs:complexType>
270270

271+
<xs:complexType name="complexTypeWithElementAndAttributeWithDefaultValues">
272+
<xs:sequence>
273+
<xs:element name="elementWithDefaultValue" type="xs:string" minOccurs="0" maxOccurs="1" default="test"/>
274+
</xs:sequence>
275+
<xs:attribute name="attributeWithDefaultValue" type="xs:string" default="test"/>
276+
</xs:complexType>
277+
271278
</xs:schema>

0 commit comments

Comments
 (0)