summaryrefslogtreecommitdiff
path: root/testdata/osxmlparser
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/osxmlparser')
-rw-r--r--testdata/osxmlparser/bibliography_domain.osxml6
-rw-r--r--testdata/osxmlparser/book_domain.osxml4
2 files changed, 5 insertions, 5 deletions
diff --git a/testdata/osxmlparser/bibliography_domain.osxml b/testdata/osxmlparser/bibliography_domain.osxml
index 6418c61..53ba531 100644
--- a/testdata/osxmlparser/bibliography_domain.osxml
+++ b/testdata/osxmlparser/bibliography_domain.osxml
@@ -13,14 +13,14 @@
</parentRef>
</struct>
<struct name="bibEntry">
- <field name="authors" optional="true">
- <childRef ref="meta.author"/>
- </field>
<primitive name="name" type="string" isSubtree="true"/>
<primitive name="year" type="int" isSubtree="true"/>
<primitive name="journal" type="string" isSubtree="true" optional="true"/>
<primitive name="pages" type="cardinality" isSubtree="true" optional="true"/>
<!-- Here a geographical enum or something would be more exact -->
<primitive name="location" type="string" isSubtree="true" optional="true"/>
+ <field name="authors" optional="true">
+ <childRef ref="meta.author"/>
+ </field>
</struct>
</domain>
diff --git a/testdata/osxmlparser/book_domain.osxml b/testdata/osxmlparser/book_domain.osxml
index 4218915..5a8cc67 100644
--- a/testdata/osxmlparser/book_domain.osxml
+++ b/testdata/osxmlparser/book_domain.osxml
@@ -75,7 +75,7 @@
<childRef ref="book.paragraph"/>
</field>
</struct>
- <struct name="paragraph" transparent="true" role="paragraph">
+ <struct name="paragraph" transparent="true">
<!-- implicitly:
<struct name="subsection" isRoot="false" cardinality="{*}"
transparent="true" isa="" attributesDescriptor="">
@@ -87,7 +87,7 @@
<childRef ref="book.text"/>
</field>
</struct>
- <struct name="text" transparent="true" role="text">
+ <struct name="text" transparent="true">
<!-- implicitly:
<struct name="text" isRoot="false" cardinality="{*}"
transparent="true" isa="" attributesDescriptor="">