/// <summary> /// Verify the ArrayOfRealItemsType schema. /// </summary> /// <param name="arrayOfRealItem">An ArrayOfRealItemsType instance.</param> private void VerifyArrayOfRealItemsTypeSchema(ArrayOfRealItemsType arrayOfRealItem) { if (Common.IsRequirementEnabled(19240, this.Site)) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCDATA_R19240"); // Verify MS-OXWSCDATA requirement: MS-OXWSCDATA_R19240 Site.CaptureRequirementIfIsNotNull( arrayOfRealItem, "MS-OXWSCDATA", 19240, @"[In Appendix B: Product Behavior] Implementation does support ArrayOfRealItemsType Complex Type. (Exchange 2007 follows this behavior.) <xs:complexType name=""ArrayOfRealItemsType""> <xs:sequence> <xs:choice minOccurs=""0"" maxOccurs=""unbounded"" > <xs:element name=""Item"" type=""t:ItemType"" /> <xs:element name=""Message"" type=""t:MessageType"" /> <xs:element name=""CalendarItem"" type=""t:CalendarItemType"" /> <xs:element name=""Contact"" type=""t:ContactItemType"" /> <xs:element name=""MeetingMessage"" type=""t:MeetingMessageType"" /> <xs:element name=""MeetingRequest"" type=""t:MeetingRequestMessageType"" /> <xs:element name=""MeetingResponse"" type=""t:MeetingResponseMessageType"" /> <xs:element name=""MeetingCancellation"" type=""t:MeetingCancellationMessageType"" /> <xs:element name=""Task"" type=""t:TaskType"" /> <xs:element name=""PostItem"" type=""t:PostItemType"" /> </xs:choice> </xs:sequence> </xs:complexType>"); } if (Common.IsRequirementEnabled(19241, this.Site)) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCDATA_R19241"); // Verify MS-OXWSCDATA requirement: MS-OXWSCDATA_R19241 Site.CaptureRequirementIfIsNotNull( arrayOfRealItem, "MS-OXWSCDATA", 19241, @"[In Appendix B: Product Behavior] Implementation does support ArrayOfRealItemsType Complex Type. (Exchange 2010 and above follow this behavior.) <xs:complexType name=""ArrayOfRealItemsType""> <xs:sequence> <xs:choice minOccurs=""0"" maxOccurs=""unbounded"" > <xs:element name=""Item"" type=""t:ItemType"" /> <xs:element name=""Message"" type=""t:MessageType"" /> <xs:element name=""CalendarItem"" type=""t:CalendarItemType"" /> <xs:element name=""Contact"" type=""t:ContactItemType"" /> <xs:element name=""DistributionList"" type=""t:DistributionListType"" /> <xs:element name=""MeetingMessage"" type=""t:MeetingMessageType"" /> <xs:element name=""MeetingRequest"" type=""t:MeetingRequestMessageType"" /> <xs:element name=""MeetingResponse"" type=""t:MeetingResponseMessageType"" /> <xs:element name=""MeetingCancellation"" type=""t:MeetingCancellationMessageType"" /> <xs:element name=""Task"" type=""t:TaskType"" /> <xs:element name=""PostItem"" type=""t:PostItemType"" /> </xs:choice> </xs:sequence> </xs:complexType>"); } // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXWSCDATA_R1675"); // Verify MS-OXWSCDATA requirement: MS-OXWSCDATA_R1675 Site.CaptureRequirementIfIsNotNull( arrayOfRealItem, "MS-OXWSCDATA", 1675, @"[In m:ItemInfoResponseMessageType Complex Type] The element ""Items"" is ""t:ArrayOfRealItemsType"" type (section 2.2.4.8)."); }