summaryrefslogtreecommitdiff
path: root/testdata/integration/domain_interaction/lists_ontology.osxml
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-04-08 13:02:23 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:19:33 +0200
commit9d04fb897ffca7db1c6030125198345b2203e858 (patch)
treecdf212273ca5aecf1e88b5e77de09f6510f15e6e /testdata/integration/domain_interaction/lists_ontology.osxml
parentea75789a02ed70d0cfa131ec615e2776f605d7dc (diff)
renamed the osxml integration folder to domain_interaction because that seemed semantically more fitting.
Diffstat (limited to 'testdata/integration/domain_interaction/lists_ontology.osxml')
-rw-r--r--testdata/integration/domain_interaction/lists_ontology.osxml24
1 files changed, 24 insertions, 0 deletions
diff --git a/testdata/integration/domain_interaction/lists_ontology.osxml b/testdata/integration/domain_interaction/lists_ontology.osxml
new file mode 100644
index 0000000..c18494a
--- /dev/null
+++ b/testdata/integration/domain_interaction/lists_ontology.osxml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<ontology name="lists">
+ <import rel="ontology" src="./book_ontology"/>
+
+ <struct name="ul" isa="book.paragraph">
+ <!-- Here we solve the problem of parents using the isa
+ mechanism, because a list may occur whereever a paragraph
+ may occur. However we do want to override the default field. -->
+ <field>
+ <childRef ref="item"/>
+ </field>
+ </struct>
+ <struct name="ol" isa="book.paragraph">
+ <!-- Here we solve the problem of parents using the isa
+ mechanism, because a list may occur whereever a paragraph
+ may occur. However we do want to override the default field. -->
+ <field>
+ <childRef ref="item"/>
+ </field>
+ </struct>
+ <struct name="item">
+ <fieldRef ref="book.paragraph.$default"/>
+ </struct>
+</ontology>