Allow usage of capped collections via XML driver

Fixes #545