Campoie / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

XmlPath getList with explicit type doesn't convert members when result really is a list #106

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. 

<some>
  <thing id="1">ikk</thing>
  <thing id="2">ikk2</thing>
  <thing id="3">ikk3</thing>
</some>

List<Integer> ids = from(xml).getList(some.thing.@id, int.class);

ids contains a list of Strings and not ints!

Original issue reported on code.google.com by johan.ha...@gmail.com on 27 Sep 2011 at 12:49

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 1 Oct 2011 at 6:40