diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-04-08 12:20:19 +0200 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2016-04-25 22:19:33 +0200 |
commit | 7a6c99c0b09377bca0b77d2918cf1e2092b3f59c (patch) | |
tree | 582118cdb815c7d942c4b0ae9d94642e3ba01602 /testdata/integration/osxml/lists_ontology.osxml | |
parent | 003d5e57f6f4c8996dcd9cdd03b61004307fd180 (diff) |
refactored the more sophisticated OSXML parser tests to the integration test folder.
Diffstat (limited to 'testdata/integration/osxml/lists_ontology.osxml')
-rw-r--r-- | testdata/integration/osxml/lists_ontology.osxml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testdata/integration/osxml/lists_ontology.osxml b/testdata/integration/osxml/lists_ontology.osxml new file mode 100644 index 0000000..c18494a --- /dev/null +++ b/testdata/integration/osxml/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> |