aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:07:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:07:57 +0200
commit8e6517dd89899e8fd3b8d5b314bcdf50bd3296cc (patch)
tree2eeef182ac836d23c203a821e23f6ec56f47e83d /tests
parentd0743458695eb2bb764bc308a9496db30f74f17a (diff)
Add default and fixed values to the types-only test
Diffstat (limited to 'tests')
-rw-r--r--tests/cxx/tree/types-only/test.xsd6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cxx/tree/types-only/test.xsd b/tests/cxx/tree/types-only/test.xsd
index d6ae44d..9f02240 100644
--- a/tests/cxx/tree/types-only/test.xsd
+++ b/tests/cxx/tree/types-only/test.xsd
@@ -28,10 +28,10 @@
<sequence>
<element name="a" type="string"/>
</sequence>
- <!-- @@ fixed="foo" -->
- <attribute name="text" type="string" use="required" />
- <!-- @@ fixed="red" -->
+ <attribute name="text" type="string" use="required"/>
<attribute name="color" type="t:color-enum" use="required"/>
+ <attribute name="ftext" type="string" fixed="foo"/>
+ <attribute name="dcolor" type="t:color-enum" default="red"/>
</complexType>
<!-- Test that we do not perform type/element name conflict resolution