gautamdudeja90 / beanio

Automatically exported from code.google.com/p/beanio
Apache License 2.0
0 stars 1 forks source link

A record/bean mapping with no field declarations should still return the configured class. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For a record mapping such as the following, a BeanReader should return an empty 
Map.

<record name="record1" class="map" minOccurs="1" maxOccurs="1">
  <!-- NO FIELD DECLARATIONS -->
</record>

Instead, the BeanReader is skipping to the next record (which is the correct 
behavior if a class was not configured).

Original issue reported on code.google.com by kevin.s...@gmail.com on 11 Sep 2011 at 8:01

GoogleCodeExporter commented 9 years ago
Fixed for 1.2.1.

Original comment by kevin.s...@gmail.com on 17 Sep 2011 at 2:35

GoogleCodeExporter commented 9 years ago

Original comment by kevin.s...@gmail.com on 21 Sep 2011 at 10:53