diff options
Diffstat (limited to 'testdata/xmlparser/comments_domain.oxm')
-rw-r--r-- | testdata/xmlparser/comments_domain.oxm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testdata/xmlparser/comments_domain.oxm b/testdata/xmlparser/comments_domain.oxm index 1336b47..2a3ad59 100644 --- a/testdata/xmlparser/comments_domain.oxm +++ b/testdata/xmlparser/comments_domain.oxm @@ -5,10 +5,10 @@ <!-- an annotation comment --> <annotation name="comment"> <field name="content" isSubtree="true"> - <child ref="book.paragraph"/> + <childRef ref="book.paragraph"/> </field> <field name="replies" isSubtree="true"> - <child ref="reply"/> + <childRef ref="reply"/> </field> </annotation> @@ -18,23 +18,23 @@ two fields in comment and reply? Could we use a fieldRef here? Or would that be circular? --> <field name="content" isSubtree="true"> - <child ref="book.paragraph"/> + <childRef ref="book.paragraph"/> </field> <field name="replies" isSubtree="true"> - <child ref="reply"/> + <childRef ref="reply"/> </field> - <parent name="book.paragraph"> - <fieldRef name="$default"/> - </parent> + <parentRef ref="book.paragraph"> + <fieldRef ref="$default"/> + </parentRef> </struct> <!-- note that replies are organized in a tree fashion: One can also reply to a reply --> <struct name="reply"> <field name="content" isSubtree="true"> - <child ref="book.paragraph"/> + <childRef ref="book.paragraph"/> </field> <field name="replies" isSubtree="true"> - <child ref="reply"/> + <childRef ref="reply"/> </field> </struct> </domain> |