summaryrefslogtreecommitdiff
path: root/testdata/osxmlparser/headings_domain.osxml
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-03-01 20:47:25 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-03-01 20:47:25 +0100
commita7019614896fdd3e29b9a28f6a8cfd2c1b365983 (patch)
tree8a9f102649e88ebf24de0a07cf5f348804a6212d /testdata/osxmlparser/headings_domain.osxml
parent0d4ce5c555a1ba3a87cb9a1e350854eda7a243e1 (diff)
Renamed domain to ontology.
Diffstat (limited to 'testdata/osxmlparser/headings_domain.osxml')
-rw-r--r--testdata/osxmlparser/headings_domain.osxml33
1 files changed, 0 insertions, 33 deletions
diff --git a/testdata/osxmlparser/headings_domain.osxml b/testdata/osxmlparser/headings_domain.osxml
deleted file mode 100644
index 07d3db2..0000000
--- a/testdata/osxmlparser/headings_domain.osxml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<domain name="headings">
-
- <import rel="domain" src="./book_domain.osxml"/>
-
- <struct name="heading" cardinality="1" transparent="true">
- <!-- The parent mechanism is a curious thing. Remind yourself
- that parent-child-relationship in this sense are mediated
- by fields. So we must either reference a field that is
- already there or declare a new one on the fly. -->
- <parentRef ref="book.book">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.chapter">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.section">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.subsection">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <parentRef ref="book.paragraph">
- <field name="heading" isSubtree="true" optional="true"/>
- </parentRef>
- <!-- regarding its fields we have a problem here. We do not want to
- declare a new field, because in fact we want to allow every
- bit of content that a paragraph would allow - also considering
- possible extensions of paragraph by other domains.
- So we need to reference the default field of paragraph. -->
- <fieldRef ref="book.paragraph.$default"/>
- </struct>
-</domain>