!xml Avoid an invalid loop if XML's not wellformed.