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.oxm16
1 files changed, 8 insertions, 8 deletions
diff --git a/testdata/xmlparser/book_domain.oxm b/testdata/xmlparser/book_domain.oxm
index 625e3c0..e02ec53 100644
--- a/testdata/xmlparser/book_domain.oxm
+++ b/testdata/xmlparser/book_domain.oxm
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0" standalone="yes"?>
<!-- The domain node is the root node of a single domain definition -->
<domain name="book">
<!-- We start by declaring the structured classes. This implicitly defines
@@ -9,9 +9,9 @@
nor parent, nor transparency, meaning that we refer to the default
values. Also note that we need to specify explicitly, which classes
are allowed as root nodes. -->
- <struct name="book" cardinality="1" isRoot="true">
+ <struct name="book" cardinality="{1}" isRoot="true">
<!-- implicitly:
- <struct name="book" cardinality="1" isRoot="true"
+ <struct name="book" cardinality="{1}" isRoot="true"
transparent="false" isa="" attributesDescriptor="">
-->
<!-- Note that we assume that, if not specified, a
@@ -39,7 +39,7 @@
</struct>
<struct name="chapter">
<!-- implicitly:
- <struct name="chapter" isRoot="false" cardinality="*"
+ <struct name="chapter" isRoot="false" cardinality="{*}"
transparent="false" isa="" attributesDescriptor="">
-->
<field>
@@ -52,7 +52,7 @@
</struct>
<struct name="section">
<!-- implicitly:
- <struct name="section" isRoot="false" cardinality="*"
+ <struct name="section" isRoot="false" cardinality="{*}"
transparent="false" isa="" attributesDescriptor="">
-->
<field>
@@ -65,7 +65,7 @@
</struct>
<struct name="subsection">
<!-- implicitly:
- <struct name="subsection" isRoot="false" cardinality="*"
+ <struct name="subsection" isRoot="false" cardinality="{*}"
transparent="false" isa="" attributesDescriptor="">
-->
<field>
@@ -77,7 +77,7 @@
</struct>
<struct name="paragraph" transparent="true" role="paragraph">
<!-- implicitly:
- <struct name="subsection" isRoot="false" cardinality="*"
+ <struct name="subsection" isRoot="false" cardinality="{*}"
transparent="true" isa="" attributesDescriptor="">
-->
<field>
@@ -89,7 +89,7 @@
</struct>
<struct name="text" transparent="true" role="text">
<!-- implicitly:
- <struct name="text" isRoot="false" cardinality="*"
+ <struct name="text" isRoot="false" cardinality="{*}"
transparent="true" isa="" attributesDescriptor="">
-->
<!-- we might want to specify std.string here -->