/// <summary>
        /// Verify the EntityType structure
        /// </summary>
        /// <param name="entity">An EntityType instance.</param>
        private void VerifyEntityType(EntityType entity)
        {
            if (Common.IsRequirementEnabled(1746, this.Site))
            {
                // Add the debug information
                Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCORE_R1746");

                // The url element is UrlEntityType type, if schema is validated and the element is not null
                // This requirement can be verified.
                Site.CaptureRequirementIfIsNotNull(
                    entity,
                    1746,
                    @"[In Appendix C: Product Behavior] Implementation does use the EntityType complex type in which entities are text found in certain parts of a message, such as the subject or the body. (Exchange 2013 and above follow this behavior.)
                        <xs:complexType name=""EntityType"">
                          <xs:sequence>
                            <xs:element name=""Position"" type=""t:EmailPositionType"" 
                                minOccurs=""0"" maxOccurs=""unbounded""/>
                          </xs:sequence>
                        </xs:complexType>");

                // Add the debug information
                Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCORE_R1780");

                // Verify MS-OXWSCORE requirement: MS-OXWSCORE_R1780
                // If the schema could be validated successfully, this requirement can be verified.
                Site.CaptureRequirement(
                    1780,
                    @"[In t:EmailPositionType Simple Type] [The type EmailPositionType is defined as follow:]
                        xs:simpleType name=""EmailPositionType"">
                          <xs:restriction base=""xs:string"">
                            <xs:enumeration value=""LatestReply""/>
                            <xs:enumeration value=""Other""/>
                            <xs:enumeration value=""Subject""/>
                            <xs:enumeration value=""Signature""/>
                          </xs:restriction>
                        </xs:simpleType>");
            }
        }