Fixed bug where url was being built with ScanJob record version instead of WFS Version.

Also improved some error information output when XML parsing fails.