No protocol error while validating xml