aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/default/general/test.xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:03:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-01-08 17:03:18 +0200
commitd0743458695eb2bb764bc308a9496db30f74f17a (patch)
tree27d33348bb9299b8460c0cebda9a8ed9031cdadd /tests/cxx/tree/default/general/test.xsd
parente6d52ecfa2379b1f7f3007e65ded5e4076abc5e9 (diff)
Add support for binary (base64 and hex) default/fixed values
Diffstat (limited to 'tests/cxx/tree/default/general/test.xsd')
-rw-r--r--tests/cxx/tree/default/general/test.xsd6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cxx/tree/default/general/test.xsd b/tests/cxx/tree/default/general/test.xsd
index ef7feb0..9d9cd38 100644
--- a/tests/cxx/tree/default/general/test.xsd
+++ b/tests/cxx/tree/default/general/test.xsd
@@ -219,6 +219,12 @@
<xs:attribute name="qname1" type="xs:QName" default="foo"/>
<xs:attribute name="qname2" type="xs:QName" default="t:bar"/>
+ <xs:attribute name="base64_bin1" type="xs:base64Binary" default=""/>
+ <xs:attribute name="base64_bin2" type="xs:base64Binary" default="YmFzZTY0IGJpbmFyeQ=="/>
+
+ <xs:attribute name="hex_bin1" type="xs:hexBinary" default=""/>
+ <xs:attribute name="hex_bin2" type="xs:hexBinary" default="6865782052696E617279"/>
+
<!-- fixed -->
<xs:attribute name="fix1" type="xs:int" fixed="123"/>