diff options
| author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-04 14:48:04 +0100 |
|---|---|---|
| committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-04 14:48:04 +0100 |
| commit | c6fc25cf500d3f7d4bb855c4225f386736f2ebf9 (patch) | |
| tree | 17ffc65dabd1f67d0b7be4fa38abb1091ac17cd3 /testdata/osxmlparser/lists_ontology.osxml | |
| parent | c4d23a8699025e60ace2926189a943e8b6ef96c0 (diff) | |
made testdata folder self-contained. No reference to default ontologies or typesystems exist anymore.
Diffstat (limited to 'testdata/osxmlparser/lists_ontology.osxml')
| -rw-r--r-- | testdata/osxmlparser/lists_ontology.osxml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testdata/osxmlparser/lists_ontology.osxml b/testdata/osxmlparser/lists_ontology.osxml new file mode 100644 index 0000000..c18494a --- /dev/null +++ b/testdata/osxmlparser/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> |
