summaryrefslogtreecommitdiff
path: root/testdata/xmlparser/book_domain.oxm
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/xmlparser/book_domain.oxm')
-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="">