sahaya / rest-assured

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

star notation doesn't work for attributes #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
E.g. body("rss.channel.item.enclosure.@length*.toInt()") results in:

java.lang.IllegalArgumentException: Path 
rss.channel.item.enclosure.'@length*'.toInt() is invalid.

Original issue reported on code.google.com by johan.ha...@gmail.com on 1 Feb 2012 at 4:25

GoogleCodeExporter commented 9 years ago
Doesn't seem like you can use collect either

@length.collect { it.toInt() }

Original comment by johan.ha...@gmail.com on 1 Feb 2012 at 4:27

GoogleCodeExporter commented 9 years ago
Doesn't work in groovy either for Attributes class 
(http://www.docjar.com/docs/api/groovy/util/slurpersupport/Attributes.html)

Original comment by johan.ha...@gmail.com on 1 Feb 2012 at 4:43