LibSip_XMLTypes.ttcn 3.84 KB
Newer Older
 *	@author 	STF 346, STF366, STF368, STF369
 *  @version    $Id$
 *	@desc		This module provides the XML type system for SIP tests.
 *				The types have been generated automatically, followed by manual modifications:
 *				- bitType substituted by OneBitType
 *				- twobitType substituted by TwoBitType
 *				- addition of pattern for: OneBitType, TwoBitType, ThreeBitType, FourBitType, FourBitType, SixBitType
 *				- application of enumerated for: State_type, Endpoint_status_type, Joining_type, Disconnection_type, Media_status_type, 
 *					Originating_identity_presentation_restriction, Terminating_identity_presentation_restriction
 *				- addition of length value: NetworkIdentityType, SixteenbitType
 *				- addition of value restriction: CugIndexType
 *				- substitution of "content" by "choice": Call_type, Mcid
 *				- additional type renaming (upper first letter): AbsService, Anonymous, Busy, 
 *					Communication_diverted, Conference_description_type, Conference_info,
 *					Conference_media_type, Conference_medium_type, Conference_state_type,
 *					Conference_type, Cug, CugRequestType, Empty_element_type, Endpoint_type,
 *					Execution_type, Host_type, Keywords_type, Media, Media_type, No_answer,
 *					Not_reachable, Not_registered, Originating_identity_presentation, Presence_status,
 *					Presence_status_activity_type, RequestType, ResponseType, Roaming,
 *					Rule_deactivated, Sidebars_by_val_type, Simservs, SimservType,
 *					Terminating_identity_presentation, Uri_type, Uris_type, User_roles_type,
 *   				User_languages_type, User_type, Users_type
rennoch's avatar
rennoch committed
 *   
 *   			new group CDIV added by STF369
pintar's avatar
pintar committed
 *   			new group ACR_CD added by STF38
module LibSip_XMLTypes language "TTCN-3:2009" {
    import from org_w3_www__XML_1998_namespace language "XSD" all
    with {
        extension "File:../xsd/xml.xsd"
    }
schmitting's avatar
schmitting committed
    
    import from ietf_params_xml_ns_common_policy language "XSD" all
    with {
        extension "File:../xsd/common-policy.xsd"
    }
schmitting's avatar
schmitting committed
    import from ietf_params_xml_ns_resource_lists language "XSD" all
    with {
        extension "File:../xsd/ResourceList.xsd"
    }
schmitting's avatar
schmitting committed
    import from org_etsi_uri__ngn_params_xml_simservs_xcap language "XSD" all
    with {
        extension "File:../xsd/SupplementaryServices.xsd"
    }
pintar's avatar
pintar committed
	
schmitting's avatar
schmitting committed
    import from org_etsi_uri__ngn_params_xml_simservs_mcid language "XSD" all
    with {
        extension "File:../xsd/MCID.xsd"
    }
pintar's avatar
pintar committed
	
juvancic's avatar
juvancic committed
    import from Ims3gpp language "XSD" all
juvancic's avatar
juvancic committed
        extension "File:../xsd/Ims3gpp.xsd"
pintar's avatar
pintar committed
    
    import from ietf_params_xml_ns_conference_info language "XSD" all
    with {
        extension "File:../xsd/CONF.xsd"
    }
pintar's avatar
pintar committed
    
    import from org_etsi_uri__ngn_params_xml_simservs_pstn language "XSD" all
    with {
        extension "File:../xsd/PSTN.xsd"
    }
pintar's avatar
pintar committed
    
    import from org_etsi_uri__ngn_params_xml_comm_div_info language "XSD" all
    with {
        extension "File:../xsd/CDIVN.xsd"
    }
    
    import from oma_xml_xdm_common_policy language "XSD" all
    with {
        extension "File:../xsd/xdm_commonPolicy-v1_0.xsd"
    }
    
pintar's avatar
pintar committed

schmitting's avatar
schmitting committed
        type union XmlBody {
            Mcid mcid,							// if there is XML Mcid
            Comm_div_info_type cdivn,			// if there is XML cdivn
schmitting's avatar
schmitting committed
            Simservs simservs,					// if there is XML simservs (Oip/r, Tip/r, Call Diversion, ICB, OCB ...)
            Conference_type conference_type,	// if there is XML conf
schmitting's avatar
schmitting committed
            Cug cug,							// if there is XML cug (defined in org_etsi_uri__ngn_params_xml_simservs_xcap.ttcn3view) 
            TIMS3GPP ims3gpp,					// if there is XML IMS 3GPP
            PSTN_transit pstnTransit,			// if there is XML PSTN_transit
schmitting's avatar
schmitting committed
            Resource_lists resourceLists		// if there is XML Resource List data
        }
schmitting's avatar
schmitting committed
} /* end module LibSip_XMLTypes */