Added error function when XML is not turned on in pumilio.