There are two ways one might create an element name for elements that belong in
a sequence, plural or singular. For example...
Singluar:
<company>
<employee name="Bob"/>
<employee name="Alice"/>
</company>
Plural:
<company>
<employees name="Bob"/>
<employees name="Alice"/>
</company>
The singular approach is more intuitive when using the XML however the plural
approach is more intuitive when using object-binding parsers (e.g. JAXB,
objectify). Is there a preferred format to use?
Original issue reported on code.google.com by weston.p...@gmail.com on 13 Sep 2012 at 9:20
Original issue reported on code.google.com by
weston.p...@gmail.com
on 13 Sep 2012 at 9:20