aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-09-14 14:35:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-09-14 14:35:19 +0200
commita32d89c25b80f443d93a050a979e465f4d1dc39e (patch)
tree9e168504996951118230d24056811c4c48bd938d /tests
parent62cadf03af778b508bd684be19c6e6958b2fe52f (diff)
Fix bug in aggregate generation for derived lists
Diffstat (limited to 'tests')
-rw-r--r--tests/cxx/hybrid/list/test.xsd8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/cxx/hybrid/list/test.xsd b/tests/cxx/hybrid/list/test.xsd
index d864b12..3412de8 100644
--- a/tests/cxx/hybrid/list/test.xsd
+++ b/tests/cxx/hybrid/list/test.xsd
@@ -5,10 +5,16 @@
<list itemType="int"/>
</simpleType>
- <simpleType name="qname-list">
+ <simpleType name="qname-list-base">
<list itemType="QName"/>
</simpleType>
+ <simpleType name="qname-list">
+ <restriction base="t:qname-list-base">
+ <minLength value="1"/>
+ </restriction>
+ </simpleType>
+
<simpleType name="string-list">
<list itemType="string"/>
</simpleType>