Not able to create objects for XML RR pair