summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 16:47:49 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 16:47:49 +0100
commit3883e6df939ad1ecb9a788153e087fefd9f0e838 (patch)
tree7a775a29f7883d1e98849d2a4d016fe917558250 /testdata
parent72848f6155c40e88572723a39852473a8be3b5bd (diff)
corrected attributes descriptor handling.
Diffstat (limited to 'testdata')
-rw-r--r--testdata/xmlparser/book_domain.oxm3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/xmlparser/book_domain.oxm b/testdata/xmlparser/book_domain.oxm
index e02ec53..ed9309b 100644
--- a/testdata/xmlparser/book_domain.oxm
+++ b/testdata/xmlparser/book_domain.oxm
@@ -10,6 +10,9 @@
values. Also note that we need to specify explicitly, which classes
are allowed as root nodes. -->
<struct name="book" cardinality="{1}" isRoot="true">
+ <attributes>
+ <attribute name="author" type="string" default="''"/>
+ </attributes>
<!-- implicitly:
<struct name="book" cardinality="{1}" isRoot="true"
transparent="false" isa="" attributesDescriptor="">