Correct error handling when using cursor paginator

Previously we were catching an XmlProcessingexception around a method
that would never throw such an exception. The catch had been intended
for next().
1 file changed