Document validation behavior