public override ErrorList Validate() { var result = new ErrorList(); result.AddRange(base.Validate()); if (IdentifierElement != null) { result.AddRange(IdentifierElement.Validate()); } if (VersionElement != null) { result.AddRange(VersionElement.Validate()); } if (NameElement != null) { result.AddRange(NameElement.Validate()); } if (PublisherElement != null) { result.AddRange(PublisherElement.Validate()); } if (Telecom != null) { Telecom.ForEach(elem => result.AddRange(elem.Validate())); } if (DescriptionElement != null) { result.AddRange(DescriptionElement.Validate()); } if (CopyrightElement != null) { result.AddRange(CopyrightElement.Validate()); } if (StatusElement != null) { result.AddRange(StatusElement.Validate()); } if (ExperimentalElement != null) { result.AddRange(ExperimentalElement.Validate()); } if (DateElement != null) { result.AddRange(DateElement.Validate()); } if (Define != null) { result.AddRange(Define.Validate()); } if (Compose != null) { result.AddRange(Compose.Validate()); } if (Expansion != null) { result.AddRange(Expansion.Validate()); } return(result); }