diff options
Diffstat (limited to 'testdata/osxmlparser/meta_domain.osxml')
-rw-r--r-- | testdata/osxmlparser/meta_domain.osxml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/testdata/osxmlparser/meta_domain.osxml b/testdata/osxmlparser/meta_domain.osxml deleted file mode 100644 index 52dffc5..0000000 --- a/testdata/osxmlparser/meta_domain.osxml +++ /dev/null @@ -1,35 +0,0 @@ -<?xml version="1.0"?> -<domain name="meta"> - - <import rel="typesystem" src="./affiliation.osxml"/> - <import rel="typesystem" src="./email.osxml"/> - <import rel="typesystem" src="./version.osxml"/> - <import rel="domain" src="./book_domain.osxml"/> - - <struct name="meta" cardinality="{1}" transparent="true"> - <field name="authors"> - <childRef ref="author"/> - <childRef ref="version"/> - </field> - <parentRef ref="book"> - <field name="meta" isSubtree="true" optional="true"/> - </parentRef> - <parentRef ref="chapter"> - <field name="meta" isSubtree="true" optional="true"/> - </parentRef> - <!-- One could also include "article" and other things here --> - </struct> - <!-- no explicit cardinality, because we might have multiple authors --> - <struct name="author"> - <primitive isSubtree="true" name="firstName" type="string"/> - <primitive isSubtree="true" name="lastName" type="string"/> - <primitive isSubtree="true" name="email" type="email" optional="true"/> - <primitive isSubtree="true" name="affiliation" type="affiliation" optional="true"/> - </struct> - <!-- but we need at least one primary author --> - <struct name="primaryAuthor" cardinality="{>0}" isa="author"/> - <!-- version intermediate struct --> - <struct name="version" cardinality="{0-1}"> - <primitive type="version"/> - </struct> -</domain> |