diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-04 14:45:52 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-03-04 14:45:52 +0100 |
commit | c7e9373a265fbf3a3d6c517f4d11b540675db47e (patch) | |
tree | e6c84a9391bf508994899463ae8225c05436f04b /data | |
parent | dcd4ef0a20679a28b83e2af321df194232f1fb87 (diff) |
smixed small mistakes in lists ontology: Items should not have paragraphs as children but should allow the same children as paragraph.
Diffstat (limited to 'data')
-rw-r--r-- | data/ontology/lists.osxml | 8 | ||||
-rw-r--r-- | data/ontology/meta.osxml | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/data/ontology/lists.osxml b/data/ontology/lists.osxml index a177cd4..2cc5e54 100644 --- a/data/ontology/lists.osxml +++ b/data/ontology/lists.osxml @@ -7,7 +7,7 @@ mechanism, because a list may occur whereever a paragraph may occur. However we do want to override the default field. --> <field> - <childRef name="item"/> + <childRef ref="item"/> </field> </struct> <struct name="ol" isa="book.paragraph"> @@ -15,12 +15,10 @@ mechanism, because a list may occur whereever a paragraph may occur. However we do want to override the default field. --> <field> - <childRef name="item"/> + <childRef ref="item"/> </field> </struct> <struct name="item"> - <field> - <childRef name="book.paragaph"/> - </field> + <fieldRef ref="book.paragraph.$default"/> </struct> </ontology> diff --git a/data/ontology/meta.osxml b/data/ontology/meta.osxml index c03541a..4b1e422 100644 --- a/data/ontology/meta.osxml +++ b/data/ontology/meta.osxml @@ -5,7 +5,6 @@ <import rel="typesystem" src="email"/> <import rel="typesystem" src="version"/> <import rel="ontology" src="book"/> - <import rel="ontology" src="headings"/> <struct name="meta" cardinality="{1}" transparent="true"> <field> |