Fix xml parsing of urls

This should fix the following error: https://github.com/errbit/errbit/issues/410