/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: http_uri_etsi_org_ngn_params_xml_simservs_pstn.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - PSTN.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/pstn" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module http_uri_etsi_org_ngn_params_xml_simservs_pstn {
import from XSD all;
/* XML Schema definition for mapping of some PSTN into SIP MIME Bodies */
/* Definition of simple types */
type XSD.String OneBitType (pattern "[0-1]");
type XSD.String TwoBitType (pattern "[0-1][0-1]");
type XSD.String ThreeBitType (pattern "[0-1][0-1][0-1]");
type XSD.String FourBitType (pattern "[0-1][0-1][0-1][0-1]");
type XSD.String FiveBitType (pattern "[0-1][0-1][0-1][0-1][0-1]");
type XSD.String SixBitType (pattern "[0-1][0-1][0-1][0-1][0-1][0-1]");
type XSD.String SevenBitType (pattern "[0-1][0-1][0-1][0-1][0-1][0-1][0-1]");
/* Definition of complex types */
/* Definition of BearerCapability Octets */
type record BCOctet3Type
{
TwoBitType codingStandard,
FiveBitType informationTransferCabability
}
with {
variant (codingStandard) "name as capitalized";
variant (informationTransferCabability) "name as capitalized";
};
type record BCOctet4Type
{
TwoBitType transferMode,
FiveBitType informationTransferRate
}
with {
variant (transferMode) "name as capitalized";
variant (informationTransferRate) "name as capitalized";
};
type record BCOctet4_1Type
{
SevenBitType rateMultiplier
}
with {
variant "name as 'BCOctet4-1Type'";
variant (rateMultiplier) "name as capitalized";
};
type record BCOctet5Type
{
TwoBitType layer1Identification,
FiveBitType userInfoLayer1Protocol
}
with {
variant (layer1Identification) "name as capitalized";
variant (userInfoLayer1Protocol) "name as capitalized";
};
type record BCOctet5aType
{
OneBitType synchronousAsynchronous,
OneBitType negotiation,
FiveBitType userRate
}
with {
variant (synchronousAsynchronous) "name as capitalized";
variant (negotiation) "name as capitalized";
variant (userRate) "name as capitalized";
};
type record BCOctet5bV110Type
{
TwoBitType intermediateRate,
OneBitType nIConTX,
OneBitType nIConRX,
OneBitType flowControlOnTX,
OneBitType flowControlOnRX
}
with {
variant (intermediateRate) "name as capitalized";
variant (nIConTX) "name as capitalized";
variant (nIConRX) "name as capitalized";
variant (flowControlOnTX) "name as capitalized";
variant (flowControlOnRX) "name as capitalized";
};
type record BCOctet5bV120Type
{
OneBitType rateAdaptionHeader,
OneBitType multipleFrameEstablishmentSupport,
OneBitType modeOfOperation,
OneBitType logicalLinkIdentifier,
OneBitType assignor,
OneBitType inbandOutbandNegotiation
}
with {
variant (rateAdaptionHeader) "name as capitalized";
variant (multipleFrameEstablishmentSupport) "name as capitalized";
variant (modeOfOperation) "name as capitalized";
variant (logicalLinkIdentifier) "name as capitalized";
variant (assignor) "name as capitalized";
variant (inbandOutbandNegotiation) "name as capitalized";
};
type record BCOctet5cType
{
TwoBitType numberOfStopBits,
TwoBitType numberOfDataBits,
ThreeBitType parity
}
with {
variant (numberOfStopBits) "name as capitalized";
variant (numberOfDataBits) "name as capitalized";
variant (parity) "name as capitalized";
};
type record BCOctet5dType
{
OneBitType duplexMode,
SixBitType modemType
}
with {
variant (duplexMode) "name as capitalized";
variant (modemType) "name as capitalized";
};
type record BCOctet6Type
{
TwoBitType layer2Identification,
FiveBitType userInfoLayer2Protocol
}
with {
variant (layer2Identification) "name as capitalized";
variant (userInfoLayer2Protocol) "name as capitalized";
};
type record BCOctet7Type
{
TwoBitType layer3Identification,
FiveBitType userInfoLayer3Protocol
}
with {
variant (layer3Identification) "name as capitalized";
variant (userInfoLayer3Protocol) "name as capitalized";
};
type record BCOctet7aType
{
FourBitType additionalLayer3Info
}
with {
variant (additionalLayer3Info) "name as capitalized";
};
type record BCOctet7bType
{
FourBitType additionalLayer3Info
}
with {
variant (additionalLayer3Info) "name as capitalized";
};
/* Definition of High Layer Compatibility Octets */
type record HLOctet3Type
{
TwoBitType codingStandard,
ThreeBitType interpretation,
TwoBitType presentationMethod
}
with {
variant (codingStandard) "name as capitalized";
variant (interpretation) "name as capitalized";
variant (presentationMethod) "name as capitalized";
};
type record HLOctet4Type
{
SevenBitType highLayerCharacteristics
}
with {
variant (highLayerCharacteristics) "name as capitalized";
};
type record HLOctet4aMaintenanceType
{
SevenBitType highLayerCharacteristics
}
with {
variant (highLayerCharacteristics) "name as capitalized";
};
type record HLOctet4aAudioType
{
SevenBitType videoTelephonyCharacteristics
}
with {
variant (videoTelephonyCharacteristics) "name as capitalized";
};
/* Definition of Low Layer Compatibility Octets */
type record LLOctet3Type
{
TwoBitType codingStandard,
FiveBitType informationTransferCapability
}
with {
variant (codingStandard) "name as capitalized";
variant (informationTransferCapability) "name as capitalized";
};
type record LLOctet3aType
{
OneBitType negotiationIndicator
}
with {
variant (negotiationIndicator) "name as capitalized";
};
type record LLOctet4Type
{
TwoBitType transferMode,
FiveBitType informationTransferRate
}
with {
variant (transferMode) "name as capitalized";
variant (informationTransferRate) "name as capitalized";
};
type record LLOctet4_1Type
{
SevenBitType rateMultiplier
}
with {
variant "name as 'LLOctet4-1Type'";
variant (rateMultiplier) "name as capitalized";
};
type record LLOctet5Type
{
TwoBitType layer1Identification,
FiveBitType userInfoLayer1Protocol
}
with {
variant (layer1Identification) "name as capitalized";
variant (userInfoLayer1Protocol) "name as capitalized";
};
type record LLOctet5aType
{
OneBitType synchronousAsynchronous,
OneBitType negotiation,
FiveBitType userRate
}
with {
variant (synchronousAsynchronous) "name as capitalized";
variant (negotiation) "name as capitalized";
variant (userRate) "name as capitalized";
};
type record LLOctet5bV110Type
{
TwoBitType intermediateRate,
OneBitType nIConTX,
OneBitType nIConRX,
OneBitType flowControlOnTX,
OneBitType flowControlOnRX
}
with {
variant (intermediateRate) "name as capitalized";
variant (nIConTX) "name as capitalized";
variant (nIConRX) "name as capitalized";
variant (flowControlOnTX) "name as capitalized";
variant (flowControlOnRX) "name as capitalized";
};
type record LLOctet5bV120Type
{
OneBitType rateAdaptionHeader,
OneBitType multipleFrameEstablishmentSupport,
OneBitType modeOfOperation,
OneBitType logicalLinkIdentifier,
OneBitType assignor,
OneBitType inbandOutbandNegotiation
}
with {
variant (rateAdaptionHeader) "name as capitalized";
variant (multipleFrameEstablishmentSupport) "name as capitalized";
variant (modeOfOperation) "name as capitalized";
variant (logicalLinkIdentifier) "name as capitalized";
variant (assignor) "name as capitalized";
variant (inbandOutbandNegotiation) "name as capitalized";
};
type record LLOctet5cType
{
TwoBitType numberOfStopBits,
TwoBitType numberOfDataBits,
ThreeBitType parity
}
with {
variant (numberOfStopBits) "name as capitalized";
variant (numberOfDataBits) "name as capitalized";
variant (parity) "name as capitalized";
};
type record LLOctet5dType
{
OneBitType duplexMode,
SixBitType modemType
}
with {
variant (duplexMode) "name as capitalized";
variant (modemType) "name as capitalized";
};
type record LLOctet6Type
{
TwoBitType layer2Identification,
FiveBitType userInfoLayer2Protocol
}
with {
variant (layer2Identification) "name as capitalized";
variant (userInfoLayer2Protocol) "name as capitalized";
};
type record LLOctet6aHDLCType
{
TwoBitType mode
}
with {
variant (mode) "name as capitalized";
};
type record LLOctet6aUserSpecificType
{
SevenBitType userSpecificLayer2Information
}
with {
variant (userSpecificLayer2Information) "name as capitalized";
};
type record LLOctet6bType
{
SevenBitType windowSize
}
with {
variant (windowSize) "name as capitalized";
};
type record LLOctet7Type
{
TwoBitType layer3Identification,
FiveBitType userInfoLayer3Protocol
}
with {
variant (layer3Identification) "name as capitalized";
variant (userInfoLayer3Protocol) "name as capitalized";
};
type record LLOctet7aUserSpecificType
{
SevenBitType optionalLayer3Information
}
with {
variant (optionalLayer3Information) "name as capitalized";
};
type record LLOctet7aX25Type
{
TwoBitType mode
}
with {
variant (mode) "name as capitalized";
};
type record LLOctet7bX25Type
{
FourBitType defaultPacketSize
}
with {
variant (defaultPacketSize) "name as capitalized";
};
type record LLOctet7cType
{
SevenBitType packetWindowSize
}
with {
variant (packetWindowSize) "name as capitalized";
};
type record LLOctet7aTR9577Type
{
FourBitType additionalLayer3Info
}
with {
variant (additionalLayer3Info) "name as capitalized";
};
type record LLOctet7bTR9577Type
{
FourBitType additionalLayer3Info
}
with {
variant (additionalLayer3Info) "name as capitalized";
};
type record DispOctet3Type
{
SevenBitType displayInformation
}
with {
variant (displayInformation) "name as capitalized";
};
/* Definition of the information elements */
type record BearerCapabilityType
{
BCOctet3Type bCoctet3,
BCOctet4Type bCoctet4,
BCOctet4_1Type bCoctet4_1 optional,
BCOctet5Type bCoctet5 optional,
BCOctet5aType bCoctet5a optional,
BCOctet5bV110Type bCoctet5bV110 optional,
BCOctet5bV120Type bCoctet5bV120 optional,
BCOctet5cType bCoctet5c optional,
BCOctet5dType bCoctet5d optional,
BCOctet6Type bCoctet6 optional,
BCOctet7Type bCoctet7 optional,
BCOctet7aType bCoctet7a optional,
BCOctet7bType bCoctet7b optional
}
with {
variant (bCoctet3) "name as capitalized";
variant (bCoctet4) "name as capitalized";
variant (bCoctet4_1) "name as 'BCoctet4-1'";
variant (bCoctet5) "name as capitalized";
variant (bCoctet5a) "name as capitalized";
variant (bCoctet5bV110) "name as capitalized";
variant (bCoctet5bV120) "name as capitalized";
variant (bCoctet5c) "name as capitalized";
variant (bCoctet5d) "name as capitalized";
variant (bCoctet6) "name as capitalized";
variant (bCoctet7) "name as capitalized";
variant (bCoctet7a) "name as capitalized";
variant (bCoctet7b) "name as capitalized";
};
type record HighLayerCompatibilityType
{
HLOctet3Type hLOctet3,
HLOctet4Type hLOctet4,
HLOctet4aMaintenanceType hLOctet4aMaintenance optional,
HLOctet4aAudioType hLOctet4Audio optional
}
with {
variant (hLOctet3) "name as capitalized";
variant (hLOctet4) "name as capitalized";
variant (hLOctet4aMaintenance) "name as capitalized";
variant (hLOctet4Audio) "name as capitalized";
};
type record LowLayerCompatibilityType
{
LLOctet3Type lLOctet3,
LLOctet3aType lLOctet3a optional,
LLOctet4Type lLOctet4,
LLOctet4_1Type lLOctet4_1 optional,
LLOctet5Type lLOctet5 optional,
LLOctet5aType lLOctet5a optional,
LLOctet5bV110Type lLOctet5bV110 optional,
LLOctet5bV120Type lLOctet5bV120 optional,
LLOctet5cType lLOctet5c optional,
LLOctet5dType lLOctet5d optional,
LLOctet6Type lLOctet6 optional,
LLOctet6aHDLCType lLOctet6aHDLC optional,
LLOctet6aUserSpecificType lLOctet6aUserSpecific optional,
LLOctet6bType lLOctet6b optional,
LLOctet7Type lLOctet7,
LLOctet7aUserSpecificType lLOctet7aUserSpecific optional,
LLOctet7aX25Type lLOctet7aX25 optional,
LLOctet7bX25Type lLOctet7bX25 optional,
LLOctet7cType lLOctet7c optional,
LLOctet7aTR9577Type lLOctet7aTR9577 optional,
LLOctet7bTR9577Type lLOctet7bTR9577 optional
}
with {
variant (lLOctet3) "name as capitalized";
variant (lLOctet3a) "name as capitalized";
variant (lLOctet4) "name as capitalized";
variant (lLOctet4_1) "name as 'LLOctet4-1'";
variant (lLOctet5) "name as capitalized";
variant (lLOctet5a) "name as capitalized";
variant (lLOctet5bV110) "name as capitalized";
variant (lLOctet5bV120) "name as capitalized";
variant (lLOctet5c) "name as capitalized";
variant (lLOctet5d) "name as capitalized";
variant (lLOctet6) "name as capitalized";
variant (lLOctet6aHDLC) "name as capitalized";
variant (lLOctet6aUserSpecific) "name as capitalized";
variant (lLOctet6b) "name as capitalized";
variant (lLOctet7) "name as capitalized";
variant (lLOctet7aUserSpecific) "name as capitalized";
variant (lLOctet7aX25) "name as capitalized";
variant (lLOctet7bX25) "name as capitalized";
variant (lLOctet7c) "name as capitalized";
variant (lLOctet7aTR9577) "name as capitalized";
variant (lLOctet7bTR9577) "name as capitalized";
};
type record DisplayType
{
DispOctet3Type dispOctet3
}
with {
variant (dispOctet3) "name as capitalized";
};
/* Definition of progress indicator */
type record ProgressOctet3Type
{
TwoBitType codingStandard,
FourBitType location
}
with {
variant (codingStandard) "name as capitalized";
variant (location) "name as capitalized";
};
type record ProgressOctet4Type
{
SevenBitType progressDescription
}
with {
variant (progressDescription) "name as capitalized";
};
type record ProgressIndicatorType
{
ProgressOctet3Type progressOctet3,
ProgressOctet4Type progressOctet4
}
with {
variant (progressOctet3) "name as capitalized";
variant (progressOctet4) "name as capitalized";
};
/* Definition of document structure */
type record PSTN_transit
{
record length(1 .. 2) of BearerCapabilityType bearerInfomationElement_list,
record length(0 .. 2) of HighLayerCompatibilityType highLayerCompatibility_list,
LowLayerCompatibilityType lowLayerCompatibility optional,
record of ProgressIndicatorType progressIndicator_list,
record of DisplayType display_list
}
with {
variant "name as 'PSTN-transit'";
variant "element";
variant (bearerInfomationElement_list) "untagged";
variant (bearerInfomationElement_list[-]) "name as 'BearerInfomationElement'";
variant (highLayerCompatibility_list) "untagged";
variant (highLayerCompatibility_list[-]) "name as 'HighLayerCompatibility'";
variant (lowLayerCompatibility) "name as capitalized";
variant (progressIndicator_list) "untagged";
variant (progressIndicator_list[-]) "name as 'ProgressIndicator'";
variant (display_list) "untagged";
variant (display_list[-]) "name as 'Display'";
};
}
with {
encode "XML";
variant "namespace as 'http://uri.etsi.org/ngn/params/xml/simservs/pstn'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: http_uri_etsi_org_ngn_params_xml_simservs_xcap.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - ACR_CB.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - CDIV.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - OIP-OIR.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - SupplementaryServices.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - TIP-TIR.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - cug.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
// - simservs.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://uri.etsi.org/ngn/params/xml/simservs/xcap" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module http_uri_etsi_org_ngn_params_xml_simservs_xcap {
import from XSD all;
import from urn_ietf_params_xml_ns_common_policy all;
import from urn_oma_xml_xdm_common_policy all;
/* import common policy definitions */
/* import OMA common policy extensions */
/* incoming communication barring rule set based on the common policy rule set. */
/* This is the incoming communication barring configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
type record Incoming_communication_barring
{
XSD.Boolean active optional,
record of XSD.String attr optional,
Ruleset ruleset optional
}
with {
variant "name as 'incoming-communication-barring'";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
variant (ruleset) "namespace as 'urn:ietf:params:xml:ns:common-policy' prefix 'cp'";
};
/* outgoing communication barring rule set based on the common policy rule set. */
/* This is the outgoing communication barring configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
type record Outgoing_communication_barring
{
XSD.Boolean active optional,
record of XSD.String attr optional,
Ruleset ruleset optional
}
with {
variant "name as 'outgoing-communication-barring'";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
variant (ruleset) "namespace as 'urn:ietf:params:xml:ns:common-policy' prefix 'cp'";
};
/* communication barring specific extensions to IETF common policy actions */
type Allow_action_type Allow
with {
variant "name as uncapitalized";
variant "element";
};
/* communication barring specific type declarations */
/* <xs:simpleType name="allow-action-type" final="list restriction"> */
type XSD.Boolean Allow_action_type
with {
variant "name as 'allow-action-type'";
//variant "text 'true' as '1'";
//variant "text 'false' as '0'";
};
/* import common policy definitions */
/* import OMA common policy extensions */
/* communication diversion specific extensions to IETF common policy conditions. The
cp:conditionsType is expanded with the elements: ss:not-registered, ss:busy, ss:no-answer, ss:notreachable,
ss:media as optional elements */
/* communication diversion rule set based on the common policy rule set. */
/* This is the communication diversion configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
type record Communication_diversion
{
XSD.Boolean active optional,
record of XSD.String attr optional,
Ruleset ruleset optional
}
with {
variant "name as 'communication-diversion'";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
variant (ruleset) "namespace as 'urn:ietf:params:xml:ns:common-policy' prefix 'cp'";
};
/* communication diversion specific extensions to IETF common policy actions */
type Forward_to_type Forward_to
with {
variant "name as 'forward-to'";
variant "element";
};
type enumerated Reveal_URIoptions_type
{
false_,
not_reveal_GRUU,
true_
}
with {
variant "text 'false_' as 'false'";
variant "text 'not_reveal_GRUU' as 'not-reveal-GRUU'";
variant "text 'true_' as 'true'";
variant "name as 'reveal-URIoptions-type'";
};
/* communication diversion specific type declarations */
type record Forward_to_type
{
XSD.AnyURI target,
XSD.Boolean notify_caller optional,
Reveal_URIoptions_type reveal_identity_to_caller optional,
Reveal_URIoptions_type reveal_served_user_identity_to_caller optional,
XSD.Boolean notify_served_user optional,
XSD.Boolean notify_served_user_on_outbound_call optional,
Reveal_URIoptions_type reveal_identity_to_target optional,
NoReplyTimer noReplyTimer optional
}
with {
variant "name as 'forward-to-type'";
variant (notify_caller) "name as 'notify-caller'";
variant (notify_caller) "defaultForEmpty as 'true'";
//variant (notify_caller) "text 'true' as '1'";
//variant (notify_caller) "text 'false' as '0'";
variant (reveal_identity_to_caller) "name as 'reveal-identity-to-caller'";
variant (reveal_identity_to_caller) "defaultForEmpty as 'true'";
variant (reveal_served_user_identity_to_caller) "name as 'reveal-served-user-identity-to-caller'";
variant (reveal_served_user_identity_to_caller) "defaultForEmpty as 'true'";
variant (notify_served_user) "name as 'notify-served-user'";
variant (notify_served_user) "defaultForEmpty as 'false'";
//variant (notify_served_user) "text 'true' as '1'";
//variant (notify_served_user) "text 'false' as '0'";
variant (notify_served_user_on_outbound_call) "name as 'notify-served-user-on-outbound-call'";
variant (notify_served_user_on_outbound_call) "defaultForEmpty as 'false'";
//variant (notify_served_user_on_outbound_call) "text 'true' as '1'";
//variant (notify_served_user_on_outbound_call) "text 'false' as '0'";
variant (reveal_identity_to_target) "name as 'reveal-identity-to-target'";
variant (reveal_identity_to_target) "defaultForEmpty as 'true'";
variant (noReplyTimer) "name as capitalized";
};
type XSD.PositiveInteger NoReplyTimer (5 .. 180)
with {
variant "element";
};
/* Originating Identity presentation Restriction */
type record Originating_identity_presentation_restriction
{
XSD.Boolean active optional,
record of XSD.String attr optional,
enumerated {
presentation_restricted,
presentation_not_restricted
} default_behaviour optional
}
with {
variant "name as 'originating--identity--presentation--restriction'";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
variant (default_behaviour) "name as 'default--behaviour'";
variant (default_behaviour) "defaultForEmpty as 'presentation--restricted'";
variant (default_behaviour) "text 'presentation_not_restricted' as 'presentation--not--restricted'";
variant (default_behaviour) "text 'presentation_restricted' as 'presentation--restricted'";
};
/* Originating Identity Presentation */
type SimservType Originating_identity_presentation
with {
variant "name as 'originating--identity--presentation'";
variant "element";
};
/* Terminating Identity presentation Restriction */
type record Terminating_identity_presentation_restriction
{
XSD.Boolean active optional,
record of XSD.String attr optional,
enumerated {
presentation_restricted,
presentation_not_restricted
} default_behaviour optional
}
with {
variant "name as 'terminating-identity-presentation-restriction'";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
variant (default_behaviour) "name as 'default-behaviour'";
variant (default_behaviour) "defaultForEmpty as 'presentation-restricted'";
variant (default_behaviour) "text 'presentation_not_restricted' as 'presentation-not-restricted'";
variant (default_behaviour) "text 'presentation_restricted' as 'presentation-restricted'";
};
/* Terminating Identity Presentation */
type SimservType Terminating_identity_presentation
with {
variant "name as 'terminating-identity-presentation'";
variant "element";
};
/* XML Schema Definition for the closed user group */
/* parameter */
/* Definition of simple types */
type XSD.String TwobitType (pattern "[0-1][0-1]")
with {
variant "name as uncapitalized";
};
type XSD.HexBinary NetworkIdentityType length(1)
with {
variant "name as uncapitalized";
};
type XSD.HexBinary SixteenbitType length(2)
with {
variant "name as uncapitalized";
};
type XSD.Integer CugIndexType (0 .. 32767)
with {
variant "name as uncapitalized";
};
/* Definition of complex types */
type record CugRequestType
{
XSD.Boolean outgoingAccessRequest,
CugIndexType cugIndex
}
with {
variant "name as uncapitalized";
//variant (outgoingAccessRequest) "text 'true' as '1'";
//variant (outgoingAccessRequest) "text 'false' as '0'";
};
/* Definition of document structure */
type record Cug
{
XSD.Boolean active optional,
record of XSD.String attr optional,
CugRequestType cugCallOperation optional,
NetworkIdentityType networkIndicator optional,
SixteenbitType cugInterlockBinaryCode optional,
TwobitType cugCommunicationIndicator optional
}
with {
variant "name as uncapitalized";
variant "element";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
};
/* The element "simservs" maps to the Common Parts of an NGN PSTN/ISDN Simulation services document */
/* XML Schema for data manipulation of ETSI */
/* NGN PSTN/ISDN Simulation Services */
/* xs:group ref="ss:absServiceGroup" minOccurs="0" maxOccurs="unbounded" / */
type record Simservs
{
record of XSD.String attr optional,
record of AbsService_group absService_list,
record {
record of XSD.String elem_list
} extensions optional
}
with {
variant "name as uncapitalized";
variant "element";
variant (attr) "anyAttributes";
variant (absService_list) "untagged";
variant (extensions.elem_list) "untagged";
variant (extensions.elem_list[-]) "anyElement except unqualified, 'http://uri.etsi.org/ngn/params/xml/simservs/xcap'";
};
type record SimservType
{
XSD.Boolean active optional,
record of XSD.String attr optional
}
with {
variant "name as uncapitalized";
variant (active) "defaultForEmpty as 'true'";
variant (active) "attribute";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
variant (attr) "anyAttributes";
};
/* service specific IETF common policy condition elements */
type Empty_element_type Anonymous
with {
variant "name as uncapitalized";
variant "element";
};
type Presence_status_activity_type Presence_status
with {
variant "name as 'presence-status'";
variant "element";
};
type Media_type1 Media
with {
variant "name as uncapitalized";
variant "element";
};
type Empty_element_type Communication_diverted
with {
variant "name as 'communication-diverted'";
variant "element";
};
type Empty_element_type Rule_deactivated
with {
variant "name as 'rule-deactivated'";
variant "element";
};
type Empty_element_type Not_registered
with {
variant "name as 'not-registered'";
variant "element";
};
type Empty_element_type Busy
with {
variant "name as uncapitalized";
variant "element";
};
type Empty_element_type No_answer
with {
variant "name as 'no-answer'";
variant "element";
};
type Empty_element_type Not_reachable
with {
variant "name as 'not-reachable'";
variant "element";
};
type Empty_element_type Roaming
with {
variant "name as uncapitalized";
variant "element";
};
/* service specific type declarations */
type XSD.String Media_type1
with {
variant "name as 'media-type1'";
};
type XSD.String Presence_status_activity_type
with {
variant "name as 'presence-status-activity-type'";
};
type record Empty_element_type
{
}
with {
variant "name as 'empty-element-type'";
};
/* ETSI substitutionGroup workaround, because TTCN-3 does not support mapping of substitutionGroup */
/* xs:group name="absServiceGroup">
<xs:choice */
/* default */
/* xs:element ref="ss:absService"/ */
/* TIP-TRI */
/* xs:element ref="ss:terminating-identity-presentation-restriction"/>
<xs:element ref="ss:terminating-identity-presentation"/ FIXME */
/* OIP-OIR */
/* xs:element ref="ss:originating-identity-presentation-restriction"/>
<xs:element ref="ss:originating-identity-presentation"/ FIXME */
/* CDIV */
/* xs:element ref="ss:communication-diversion"/ FIXME */
/* ACR-CB */
/* xs:element ref="ss:incoming-communication-barring"/>
<xs:element ref="ss:outgoing-communication-barring"/ FIXME */
/* CUG */
/* <xs:element ref="cug"/> */
/* /xs:choice */
/* /xs:group */
type union AbsService_group
{
SimservType absService,
/* This is the communication diversion configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
Communication_diversion communication_diversion,
Cug cug,
/* This is the incoming communication barring configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
Incoming_communication_barring incoming_communication_barring,
/* Originating Identity Presentation */
Originating_identity_presentation originating_identity_presentation,
/* Originating Identity presentation Restriction */
Originating_identity_presentation_restriction originating_identity_presentation_restriction,
/* This is the outgoing communication barring configuration */
/* document. */
/* add service specific elements here */
/* service specific attributes can be defined here */
Outgoing_communication_barring outgoing_communication_barring,
/* Terminating Identity Presentation */
Terminating_identity_presentation terminating_identity_presentation,
/* Terminating Identity presentation Restriction */
Terminating_identity_presentation_restriction terminating_identity_presentation_restriction
}
with {
variant "untagged";
variant (absService) "form as qualified";
variant (absService) "abstract";
variant (communication_diversion) "name as 'communication-diversion'";
variant (incoming_communication_barring) "name as 'incoming-communication-barring'";
variant (originating_identity_presentation) "name as 'originating--identity--presentation'";
variant (originating_identity_presentation_restriction) "name as 'originating--identity--presentation--restriction'";
variant (outgoing_communication_barring) "name as 'outgoing-communication-barring'";
variant (terminating_identity_presentation) "name as 'terminating-identity-presentation'";
variant (terminating_identity_presentation_restriction) "name as 'terminating-identity-presentation-restriction'";
};
}
with {
encode "XML";
variant "namespace as 'http://uri.etsi.org/ngn/params/xml/simservs/xcap' prefix 'ss'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4A
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: http_www_opengis_net_gml.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Jul 3 08:58:44 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - basicTypes.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
// - gmlBase.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
// - measures.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
// - geometryBasic0d1d.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
// - geometryBasic2d.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
// - geometryPrimitives.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/gml" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module http_www_opengis_net_gml {
import from XSD all;
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type enumerated SignType
{
x,
x_1
}
with {
variant "text 'x' as '-'";
variant "text 'x_1' as '+'";
};
type record of XSD.Boolean BooleanList
with {
variant "name as uncapitalized";
variant "list";
//variant "text 'true' as '1'";
//variant "text 'false' as '0'";
};
type record of XSD.Name NameList
with {
variant "list";
};
type record of XSD.Double DoubleList
with {
variant "name as uncapitalized";
variant "list";
};
type record of XSD.Integer IntegerList
with {
variant "name as uncapitalized";
variant "list";
};
type record MeasureType
{
XSD.AnyURI uom,
XSD.Double base
}
with {
variant (uom) "attribute";
variant (base) "untagged";
};
type record of XSD.NCName NCNameList
with {
variant "list";
};
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type record AbstractGMLType
{
Id id optional
}
with {
variant "abstract";
variant (id) "attribute";
};
type XSD.ID Id
with {
variant "name as uncapitalized";
variant "attribute";
};
/*
type union Object_group
{
XSD.AnyType object,
GML_group gML
}
with {
variant "untagged";
variant (object) "name as '_Object'";
variant (object) "form as qualified";
variant (object) "abstract";
variant (gML) "name as '_GML'";
};
type union GML_group
{
AbstractGMLType gML,
Geometry_group geometry
}
with {
variant "untagged";
variant (gML) "name as '_GML'";
variant (gML) "form as qualified";
variant (gML) "abstract";
variant (geometry) "name as '_Geometry'";
};
*/
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type MeasureType Measure
with {
variant "name as uncapitalized";
variant "element";
};
type MeasureType LengthType;
type MeasureType Angle
with {
variant "name as uncapitalized";
variant "element";
};
type MeasureType AngleType;
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
/*
type record GeometryPropertyType
{
Geometry_group geometry
}
with {
variant (geometry) "name as '_Geometry'";
};
type record GeometryArrayPropertyType
{
record of Geometry_group geometry_list
}
with {
variant (geometry_list) "untagged";
variant (geometry_list[-]) "name as '_Geometry'";
};
*/
type record AbstractGeometryType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional
}
with {
variant "abstract";
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type AbstractGeometryType AbstractGeometricPrimitiveType
with {
variant "abstract";
};
type PointType Point
with {
variant "name as 'Point'";
variant "element";
};
type record PointType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
Pos pos
}
with {
variant "name as uncapitalized";
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type PointPropertyType PointProperty
with {
variant "name as uncapitalized";
variant "element";
};
type record PointPropertyType
{
Point point
}
with {
variant (point) "name as capitalized";
};
type AbstractGeometricPrimitiveType AbstractCurveType
with {
variant "abstract";
};
type CurvePropertyType CurveProperty
with {
variant "name as uncapitalized";
variant "element";
};
type record CurvePropertyType
{
Curve_group curve
}
with {
variant (curve) "name as '_Curve'";
};
type LineStringType LineString
with {
variant "name as 'LinearRing'";
variant "element";
};
type record LineStringType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
union {
record length(2 .. infinity) of union {
Pos pos,
PointProperty pointProperty
} choice_list,
PosList posList
} choice
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
variant (choice) "untagged";
variant (choice.choice_list) "untagged";
variant (choice.choice_list[-]) "untagged";
};
type DirectPositionType Pos
with {
variant "name as 'pos'";
variant "element";
};
type DoubleList DirectPositionType;
type DirectPositionListType PosList
with {
variant "name as uncapitalized";
variant "element";
};
type record DirectPositionListType
{
XSD.PositiveInteger count optional,
DoubleList base
}
with {
variant (count) "attribute";
variant (base) "untagged";
};
type EnvelopeType Envelope
with {
variant "element";
};
type record EnvelopeType
{
NCNameList axisLabels optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
union {
record {
DirectPositionType lowerCorner,
DirectPositionType upperCorner
} sequence,
record length(2) of Pos pos_list
} choice
}
with {
variant (axisLabels) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
variant (choice) "untagged";
variant (choice.sequence) "untagged";
variant (choice.pos_list) "untagged";
variant (choice.pos_list[-]) "name as 'pos'";
};
/*
type union Geometry_group
{
AbstractGeometryType geometry,
GeometricPrimitive_group geometricPrimitive,
Ring_group ring
}
with {
variant "untagged";
variant (geometry) "name as '_Geometry'";
variant (geometry) "form as qualified";
variant (geometry) "abstract";
variant (geometricPrimitive) "name as '_GeometricPrimitive'";
variant (ring) "name as '_Ring'";
};
type union GeometricPrimitive_group
{
AbstractGeometricPrimitiveType geometricPrimitive,
Curve_group curve,
Point point,
Solid_group solid,
Surface_group_1 surface
}
with {
variant "untagged";
variant (geometricPrimitive) "name as '_GeometricPrimitive'";
variant (geometricPrimitive) "form as qualified";
variant (geometricPrimitive) "abstract";
variant (curve) "name as '_Curve'";
variant (point) "name as capitalized";
variant (solid) "name as '_Solid'";
variant (surface) "name as '_Surface'";
};
*/
type union Curve_group
{
AbstractCurveType curve,
Curve curve_1,
LineString lineString
}
with {
variant "untagged";
variant (curve) "name as '_Curve'";
variant (curve) "form as qualified";
variant (curve) "abstract";
variant (curve_1) "name as 'Curve'";
variant (lineString) "name as capitalized";
};
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type AbstractGeometricPrimitiveType AbstractSurfaceType;
/*
type SurfacePropertyType SurfaceProperty
with {
variant "name as uncapitalized";
variant "element";
};
type record SurfacePropertyType
{
Surface_group_1 surface
}
with {
variant (surface) "name as '_Surface'";
};
*/
type PolygonType Polygon
with {
variant "element";
};
type record PolygonType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
Exterior exterior optional
}
with {
variant "name as 'Polygon'";
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type AbstractGeometryType AbstractRingType
with {
variant "abstract";
};
type AbstractRingPropertyType Exterior
with {
variant "name as 'exterior'";
variant "element";
};
type record AbstractRingPropertyType
{
Ring_group ring
}
with {
variant "name as 'exterior'";
variant (ring) "name as '_Ring'";
};
type LinearRingType LinearRing
with {
variant "name as 'LinearRing'";
variant "element";
};
type record LinearRingType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
union {
record length(4 .. infinity) of union {
Pos pos,
PointProperty pointProperty
} choice_list,
PosList posList
} choice
}
with {
variant "name as 'LinearRing'";
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
variant (choice) "untagged";
variant (choice.choice_list) "untagged";
variant (choice.choice_list[-]) "untagged";
variant (choice.choice_list[-].pos[-]) "name as 'pos'";
};
/*
type union Surface_group_1
{
AbstractSurfaceType surface,
ArcBand arcBand,
Circle circle,
Ellipse ellipse,
Polygon polygon,
Surface_group surface_1
}
with {
variant "untagged";
variant (surface) "name as '_Surface'";
variant (surface) "form as qualified";
variant (surface) "abstract";
variant (arcBand) "name as capitalized";
variant (circle) "name as capitalized";
variant (ellipse) "name as capitalized";
variant (polygon) "name as capitalized";
variant (surface_1) "name as 'Surface'";
};
*/
type union Ring_group
{
AbstractRingType ring,
LinearRing linearRing
}
with {
variant "untagged";
variant (ring) "name as '_Ring'";
variant (ring) "form as qualified";
variant (ring) "abstract";
variant (linearRing) "name as capitalized";
};
const XSD.Integer c_defaultForEmpty_1 := 0;
const CurveInterpolationType c_defaultForEmpty_2 := linear;
const CurveInterpolationType c_defaultForEmpty_3 := circularArcCenterPointWithRadius;
const XSD.Integer c_defaultForEmpty_4 := 1;
const SurfaceInterpolationType c_defaultForEmpty_5 := planar;
/* Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type CurveType Curve
with {
variant "element";
};
type record CurveType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
Segments segments
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type record AbstractCurveSegmentType
{
XSD.Integer numDerivativeInterior optional,
XSD.Integer numDerivativesAtEnd optional,
XSD.Integer numDerivativesAtStart optional
}
with {
variant "abstract";
variant (numDerivativeInterior) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativeInterior) "attribute";
variant (numDerivativesAtEnd) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtEnd) "attribute";
variant (numDerivativesAtStart) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtStart) "attribute";
};
type CurveSegmentArrayPropertyType Segments
with {
variant "name as uncapitalized";
variant "element";
};
type record CurveSegmentArrayPropertyType
{
record of CurveSegment_group curveSegment_list
}
with {
variant (curveSegment_list) "untagged";
variant (curveSegment_list[-]) "name as '_CurveSegment'";
};
type LineStringSegmentType LineStringSegment
with {
variant "element";
};
type record LineStringSegmentType
{
CurveInterpolationType interpolation (c_defaultForEmpty_2) optional,
XSD.Integer numDerivativeInterior optional,
XSD.Integer numDerivativesAtEnd optional,
XSD.Integer numDerivativesAtStart optional,
union {
record length(2 .. infinity) of union {
Pos pos,
PointProperty pointProperty
} choice_list,
PosList posList
} choice
}
with {
variant (interpolation) "defaultForEmpty as c_defaultForEmpty_2";
variant (interpolation) "attribute";
variant (numDerivativeInterior) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativeInterior) "attribute";
variant (numDerivativesAtEnd) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtEnd) "attribute";
variant (numDerivativesAtStart) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtStart) "attribute";
variant (choice) "untagged";
variant (choice.choice_list) "untagged";
variant (choice.choice_list[-]) "untagged";
};
type record ArcByCenterPointType
{
CurveInterpolationType interpolation (c_defaultForEmpty_3) optional,
XSD.Integer numArc (c_defaultForEmpty_4),
XSD.Integer numDerivativeInterior optional,
XSD.Integer numDerivativesAtEnd optional,
XSD.Integer numDerivativesAtStart optional,
union {
Pos pos,
PointProperty pointProperty
} choice,
LengthType radius,
AngleType startAngle optional,
AngleType endAngle optional
}
with {
variant (interpolation) "defaultForEmpty as c_defaultForEmpty_3";
variant (interpolation) "attribute";
variant (numArc) "defaultForEmpty as c_defaultForEmpty_4";
variant (numArc) "attribute";
variant (numDerivativeInterior) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativeInterior) "attribute";
variant (numDerivativesAtEnd) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtEnd) "attribute";
variant (numDerivativesAtStart) "defaultForEmpty as c_defaultForEmpty_1";
variant (numDerivativesAtStart) "attribute";
variant (choice) "untagged";
};
type CircleByCenterPointType CircleByCenterPoint
with {
variant "element";
};
type ArcByCenterPointType CircleByCenterPointType;
type record SurfaceType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
Patches_group patches
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type record AbstractSurfacePatchType
{
}
with {
variant "abstract";
};
type record SurfacePatchArrayPropertyType
{
record of record {
SurfacePatch_group surfacePatch
} sequence_list
}
with {
variant (sequence_list) "untagged";
variant (sequence_list[-]) "untagged";
variant (sequence_list[-].surfacePatch) "name as '_SurfacePatch'";
};
type PolygonPatchType PolygonPatch
with {
variant "element";
};
type record PolygonPatchType
{
SurfaceInterpolationType interpolation (c_defaultForEmpty_5) optional,
Exterior exterior optional
}
with {
variant (interpolation) "defaultForEmpty as c_defaultForEmpty_5";
variant (interpolation) "attribute";
};
type RectangleType Rectangle
with {
variant "element";
};
type record RectangleType
{
SurfaceInterpolationType interpolation (c_defaultForEmpty_5) optional,
Exterior exterior
}
with {
variant (interpolation) "defaultForEmpty as c_defaultForEmpty_5";
variant (interpolation) "attribute";
};
type PolyhedralSurfaceType PolyhedralSurface
with {
variant "element";
};
type record PolyhedralSurfaceType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type PolygonPatchArrayPropertyType PolygonPatches
with {
variant "name as uncapitalized";
variant "element";
};
type SurfacePatchArrayPropertyType PolygonPatchArrayPropertyType;
type AbstractGeometricPrimitiveType AbstractSolidType;
/*
type SolidType Solid
with {
variant "element";
};
type record SolidType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
SurfacePropertyType exterior optional
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
*/
type enumerated CurveInterpolationType
{
circularArc3Points,
circularArcCenterPointWithRadius,
geodesic,
linear
};
type enumerated SurfaceInterpolationType
{
planar
};
type union CurveSegment_group
{
AbstractCurveSegmentType curveSegment,
ArcByCenterPoint_group arcByCenterPoint,
LineStringSegment lineStringSegment
}
with {
variant "untagged";
variant (curveSegment) "name as '_CurveSegment'";
variant (curveSegment) "form as qualified";
variant (curveSegment) "abstract";
variant (arcByCenterPoint) "name as capitalized";
variant (lineStringSegment) "name as capitalized";
};
type union ArcByCenterPoint_group
{
ArcByCenterPointType arcByCenterPoint,
CircleByCenterPoint circleByCenterPoint
}
with {
variant "untagged";
variant (arcByCenterPoint) "name as capitalized";
variant (arcByCenterPoint) "form as qualified";
variant (circleByCenterPoint) "name as capitalized";
};
type union SurfacePatch_group
{
AbstractSurfacePatchType surfacePatch,
PolygonPatch polygonPatch,
Rectangle rectangle
}
with {
variant "untagged";
variant (surfacePatch) "name as '_SurfacePatch'";
variant (surfacePatch) "form as qualified";
variant (surfacePatch) "abstract";
variant (polygonPatch) "name as capitalized";
variant (rectangle) "name as capitalized";
};
type union Surface_group
{
SurfaceType surface,
PolyhedralSurface polyhedralSurface
}
with {
variant "untagged";
variant (surface) "name as capitalized";
variant (surface) "form as qualified";
variant (polyhedralSurface) "name as capitalized";
};
type union Patches_group
{
SurfacePatchArrayPropertyType patches,
PolygonPatches polygonPatches
}
with {
variant "untagged";
variant (patches) "form as qualified";
};
/*
type union Solid_group
{
AbstractSolidType solid,
Ellipsoid ellipsoid,
Prism prism,
Solid solid_1,
Sphere sphere
}
with {
variant "untagged";
variant (solid) "name as '_Solid'";
variant (solid) "form as qualified";
variant (solid) "abstract";
variant (ellipsoid) "name as capitalized";
variant (prism) "name as capitalized";
variant (solid_1) "name as 'Solid'";
variant (sphere) "name as capitalized";
};
*/
}
with {
encode "XML";
variant "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4A
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: http_www_opengis_net_pidflo_1_0.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Jul 3 08:58:44 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - GML-pidf-lo-shape.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "http://www.opengis.net/pidflo/1.0" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module http_www_opengis_net_pidflo_1_0 {
import from XSD all;
import from http_www_opengis_net_gml all;
/* This document defines geodetic shape types for PIDF-LO.
Copyright (c) 2007,2009 Open Geospatial Consortium.
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ . */
type CircleType Circle
with {
variant "name as 'Circle'";
variant "element";
};
type record CircleType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
CenterGroup centerGroup,
LengthType radius
}
with {
variant "name as uncapitalized";
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type EllipseType Ellipse
with {
variant "element";
};
type record EllipseType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
CenterGroup centerGroup,
LengthType semiMajorAxis,
LengthType semiMinorAxis,
AngleType orientation
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type ArcBandType ArcBand
with {
variant "element";
};
type record ArcBandType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
CenterGroup centerGroup,
LengthType innerRadius,
LengthType outerRadius,
AngleType startAngle,
AngleType openingAngle
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type PrismType Prism
with {
variant "element";
};
type record PrismType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
SurfacePropertyType base,
LengthType height
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type SphereType Sphere
with {
variant "element";
};
type record SphereType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
CenterGroup centerGroup,
LengthType radius
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type EllipsoidType Ellipsoid
with {
variant "element";
};
type record EllipsoidType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
CenterGroup centerGroup,
LengthType semiMajorAxis,
LengthType semiMinorAxis,
LengthType verticalAxis,
AngleType orientation
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type union CenterGroup
{
Pos pos,
PointProperty pointProperty
}
with {
variant "untagged";
variant (pos) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
variant (pointProperty) "namespace as 'http://www.opengis.net/gml' prefix 'gml'";
};
type union Object_group
{
XSD.AnyType object,
GML_group gML
}
with {
variant "untagged";
variant (object) "name as '_Object'";
variant (object) "form as qualified";
variant (object) "abstract";
variant (gML) "name as '_GML'";
};
type union GML_group
{
AbstractGMLType gML,
Geometry_group geometry
}
with {
variant "untagged";
variant (gML) "name as '_GML'";
variant (gML) "form as qualified";
variant (gML) "abstract";
variant (geometry) "name as '_Geometry'";
};
type record GeometryPropertyType
{
Geometry_group geometry
}
with {
variant (geometry) "name as '_Geometry'";
};
type record GeometryArrayPropertyType
{
record of Geometry_group geometry_list
}
with {
variant (geometry_list) "untagged";
variant (geometry_list[-]) "name as '_Geometry'";
};
type union Geometry_group
{
AbstractGeometryType geometry,
GeometricPrimitive_group geometricPrimitive,
Ring_group ring
}
with {
variant "untagged";
variant (geometry) "name as '_Geometry'";
variant (geometry) "form as qualified";
variant (geometry) "abstract";
variant (geometricPrimitive) "name as '_GeometricPrimitive'";
variant (ring) "name as '_Ring'";
};
type union GeometricPrimitive_group
{
AbstractGeometricPrimitiveType geometricPrimitive,
Curve_group curve,
Point point,
Solid_group solid,
Surface_group_1 surface
}
with {
variant "untagged";
variant (geometricPrimitive) "name as '_GeometricPrimitive'";
variant (geometricPrimitive) "form as qualified";
variant (geometricPrimitive) "abstract";
variant (curve) "name as '_Curve'";
variant (point) "name as capitalized";
variant (solid) "name as '_Solid'";
variant (surface) "name as '_Surface'";
};
type SolidType Solid
with {
variant "element";
};
type record SolidType
{
NCNameList axisLabels optional,
XSD.String gid optional,
Id id optional,
XSD.PositiveInteger srsDimension optional,
XSD.AnyURI srsName optional,
NCNameList uomLabels optional,
SurfacePropertyType exterior optional
}
with {
variant (axisLabels) "attribute";
variant (gid) "attribute";
variant (id) "attribute";
variant (srsDimension) "attribute";
variant (srsName) "attribute";
variant (uomLabels) "attribute";
};
type union Solid_group
{
AbstractSolidType solid,
Ellipsoid ellipsoid,
Prism prism,
Solid solid_1,
Sphere sphere
}
with {
variant "untagged";
variant (solid) "name as '_Solid'";
variant (solid) "form as qualified";
variant (solid) "abstract";
variant (ellipsoid) "name as capitalized";
variant (prism) "name as capitalized";
variant (solid_1) "name as 'Solid'";
variant (sphere) "name as capitalized";
};
type SurfacePropertyType SurfaceProperty
with {
variant "name as uncapitalized";
variant "element";
};
type record SurfacePropertyType
{
Surface_group_1 surface
}
with {
variant (surface) "name as '_Surface'";
};
type union Surface_group_1
{
AbstractSurfaceType surface,
ArcBand arcBand,
Circle circle,
Ellipse ellipse,
Polygon polygon,
Surface_group surface_1
}
with {
variant "untagged";
variant (surface) "name as '_Surface'";
variant (surface) "form as qualified";
variant (surface) "abstract";
variant (arcBand) "name as capitalized";
variant (circle) "name as capitalized";
variant (ellipse) "name as capitalized";
variant (polygon) "name as capitalized";
variant (surface_1) "name as 'Surface'";
};
}
with {
encode "XML";
variant "namespace as 'http://www.opengis.net/pidflo/1.0' prefix 'gs'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
sources := \
ttcn/LibSip_Library.ttcn \
ttcn/LibSip_Interface.ttcn \
../patch_lib_sip_titan/LibSip_SDPTypes.ttcn \
../patch_lib_sip_titan/LibSip_XMLTypes.ttcn \
../patch_lib_sip_titan/LibSip_SimpleMsgSummaryTypes.ttcn \
../patch_lib_sip_titan/LibSip_SIPTypesAndValues.ttcn \
../patch_lib_sip_titan/LibSip_SMSFunctions.ttcn \
../patch_lib_sip_titan/LibSip_Common.ttcn \
../patch_lib_sip_titan/LibSip_SMSTemplates.ttcn \
../patch_lib_sip_titan/LibSip_EncdecDeclarations.ttcn \
../patch_lib_sip_titan/LibSip_SMSTypesAndValues.ttcn \
../patch_lib_sip_titan/LibSip_MessageBodyTypes.ttcn \
../patch_lib_sip_titan/LibSip_Steps.ttcn \
../patch_lib_sip_titan/LibSip_PIXITS.ttcn \
../patch_lib_sip_titan/LibSip_Templates.ttcn \
../patch_lib_sip_titan/http_uri_etsi_org_ngn_params_xml_comm_div_info.ttcn \
../patch_lib_sip_titan/http_uri_etsi_org_ngn_params_xml_simservs_mcid.ttcn \
../patch_lib_sip_titan/urn_3gpp_ns_cw_1_0.ttcn \
../patch_lib_sip_titan/http_uri_etsi_org_ngn_params_xml_simservs_pstn.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_common_policy.ttcn \
../patch_lib_sip_titan/http_uri_etsi_org_ngn_params_xml_simservs_xcap.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_conference_info.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_reginfo.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_resource_lists.ttcn \
../patch_lib_sip_titan/urn_oma_xml_xdm_common_policy.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_pidf.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_pidf_geopriv10.ttcn \
../patch_lib_sip_titan/urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr.ttcn \
../patch_lib_sip_titan/http_www_opengis_net_gml.ttcn \
../patch_lib_sip_titan/http_www_opengis_net_pidflo_1_0.ttcn \
modules := ../../titan-test-system-framework/ttcn/LibXsd
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_3gpp_ns_cw_1_0.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - cw.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:3gpp:ns:cw:1.0" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_3gpp_ns_cw_1_0 {
import from XSD all;
type record TEmptyType
{
}
with {
variant "name as uncapitalized";
};
type record TCWtype
{
record of XSD.String attr optional,
TEmptyType communication_waiting_indication optional,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (attr) "anyAttributes except unqualified, 'urn:3gpp:ns:cw:1.0'";
variant (communication_waiting_indication) "name as 'communication-waiting-indication'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:3gpp:ns:cw:1.0'";
};
type TCWtype Ims_cw
with {
variant "name as 'ims-cw'";
variant "element";
};
}
with {
encode "XML";
variant "namespace as 'urn:3gpp:ns:cw:1.0' prefix 'cw10'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_common_policy.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - common-policy.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "urn:ietf:params:xml:ns:common-policy" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_common_policy {
import from XSD all;
/* /ruleset */
type record Ruleset
{
record of RuleType rule_list
}
with {
variant "name as uncapitalized";
variant "element";
variant (rule_list) "untagged";
variant (rule_list[-]) "name as 'rule'";
};
/* /ruleset/rule */
type record RuleType
{
XSD.ID id,
ConditionsType conditions optional,
ExtensibleType actions optional,
ExtensibleType transformations optional
}
with {
variant "name as uncapitalized";
variant (id) "attribute";
};
/* //rule/conditions */
type record ConditionsType
{
record length(1 .. infinity) of union {
record length(0 .. 1) of IdentityType identity_list,
record length(1) of SphereType sphere_list,
record length(1) of ValidityType validity_list,
record length(1 .. infinity) of XSD.String elem_list
} choice_list
}
with {
variant "name as uncapitalized";
variant (choice_list) "untagged";
variant (choice_list[-]) "untagged";
variant (choice_list[-].identity_list) "untagged";
variant (choice_list[-].identity_list[-]) "name as 'identity'";
variant (choice_list[-].sphere_list) "untagged";
variant (choice_list[-].sphere_list[-]) "name as 'sphere'";
variant (choice_list[-].validity_list) "untagged";
variant (choice_list[-].validity_list[-]) "name as 'validity'";
variant (choice_list[-].elem_list) "untagged";
variant (choice_list[-].elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:common-policy'";
};
/* //conditions/identity */
type record IdentityType
{
record length(1 .. infinity) of union {
OneType one,
ManyType many,
XSD.String elem
} choice_list
}
with {
variant "name as uncapitalized";
variant (choice_list) "untagged";
variant (choice_list[-]) "untagged";
variant (choice_list[-].elem) "anyElement except unqualified, 'urn:ietf:params:xml:ns:common-policy'";
};
/* //identity/one */
type record OneType
{
XSD.AnyURI id,
XSD.String elem optional
}
with {
variant "name as uncapitalized";
variant (id) "attribute";
variant (elem) "anyElement except unqualified, 'urn:ietf:params:xml:ns:common-policy'";
};
/* //identity/many */
type record ManyType
{
XSD.String domain optional,
record of union {
ExceptType except_,
record length(0 .. 1) of XSD.String elem_list
} choice_list
}
with {
variant "name as uncapitalized";
variant (domain) "attribute";
variant (choice_list) "untagged";
variant (choice_list[-]) "untagged";
variant (choice_list[-].except_) "name as 'except'";
variant (choice_list[-].elem_list) "untagged";
variant (choice_list[-].elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:common-policy'";
};
/* //many/except */
type record ExceptType
{
XSD.String domain optional,
XSD.AnyURI id optional
}
with {
variant "name as uncapitalized";
variant (domain) "attribute";
variant (id) "attribute";
};
/* //conditions/sphere */
type record SphereType
{
XSD.String value_
}
with {
variant "name as uncapitalized";
variant (value_) "name as 'value'";
variant (value_) "attribute";
};
/* //conditions/validity */
type record ValidityType
{
record length(1 .. infinity) of record {
XSD.DateTime from_,
XSD.DateTime until
} sequence_list
}
with {
variant "name as uncapitalized";
variant (sequence_list) "untagged";
variant (sequence_list[-]) "untagged";
variant (sequence_list[-].from_) "name as 'from'";
};
/* //rule/actions or //rule/transformations */
type record ExtensibleType
{
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:common-policy'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:common-policy' prefix 'cp'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_conference_info.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - CONF.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:ietf:params:xml:ns:conference-info" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_conference_info {
import from XSD all;
import from http_www_w3_org_XML_1998_namespace all;
/* This imports the xml:language definition */
/* CONFERENCE ELEMENT */
type Conference_type Conference_info
with {
variant "name as 'conference-info'";
variant "element";
};
/* CONFERENCE TYPE */
type record Conference_type
{
XSD.AnyURI entity,
State_type state optional,
XSD.UnsignedInt version optional,
record of XSD.String attr optional,
Conference_description_type conference_description optional,
Host_type host_info optional,
Conference_state_type conference_state optional,
Users_type users optional,
Uris_type sidebars_by_ref optional,
Sidebars_by_val_type sidebars_by_val optional,
record of XSD.String elem_list
}
with {
variant "name as 'conference-type'";
variant (entity) "attribute";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (version) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (conference_description) "name as 'conference-description'";
variant (host_info) "name as 'host-info'";
variant (conference_state) "name as 'conference-state'";
variant (sidebars_by_ref) "name as 'sidebars-by-ref'";
variant (sidebars_by_val) "name as 'sidebars-by-val'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* STATE TYPE */
type enumerated State_type
{
deleted,
full,
partial
}
with {
variant "name as 'state-type'";
};
/* CONFERENCE DESCRIPTION TYPE */
type record Conference_description_type
{
record of XSD.String attr optional,
XSD.String display_text optional,
XSD.String subject optional,
XSD.String free_text optional,
Keywords_type keywords optional,
Uris_type conf_uris optional,
Uris_type service_uris optional,
XSD.UnsignedInt maximum_user_count optional,
Conference_media_type available_media optional,
record of XSD.String elem_list
}
with {
variant "name as 'conference-description-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (free_text) "name as 'free-text'";
variant (conf_uris) "name as 'conf-uris'";
variant (service_uris) "name as 'service-uris'";
variant (maximum_user_count) "name as 'maximum-user-count'";
variant (available_media) "name as 'available-media'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* HOST TYPE */
type record Host_type
{
record of XSD.String attr optional,
XSD.String display_text optional,
XSD.AnyURI web_page optional,
Uris_type uris optional,
record of XSD.String elem_list
}
with {
variant "name as 'host-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (web_page) "name as 'web-page'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* CONFERENCE STATE TYPE */
type record Conference_state_type
{
record of XSD.String attr optional,
XSD.UnsignedInt user_count optional,
XSD.Boolean active optional,
XSD.Boolean locked optional,
record of XSD.String elem_list
}
with {
variant "name as 'conference-state-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (user_count) "name as 'user-count'";
//variant (active) "text 'true' as '1'";
//variant (active) "text 'false' as '0'";
//variant (locked) "text 'true' as '1'";
//variant (locked) "text 'false' as '0'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* CONFERENCE MEDIA TYPE */
type record Conference_media_type
{
record of XSD.String attr optional,
record length(1 .. infinity) of Conference_medium_type entry_list
}
with {
variant "name as 'conference-media-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (entry_list) "untagged";
variant (entry_list[-]) "name as 'entry'";
};
/* CONFERENCE MEDIUM TYPE */
type record Conference_medium_type
{
XSD.String label_,
record of XSD.String attr optional,
XSD.String display_text optional,
XSD.String type_,
Media_status_type status optional,
record of XSD.String elem_list
}
with {
variant "name as 'conference-medium-type'";
variant (label_) "name as 'label'";
variant (label_) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (type_) "name as 'type'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* URIs TYPE */
type record Uris_type
{
State_type state optional,
record of XSD.String attr optional,
record length(1 .. infinity) of Uri_type entry_list
}
with {
variant "name as 'uris-type'";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (entry_list) "untagged";
variant (entry_list[-]) "name as 'entry'";
};
/* URI TYPE */
type record Uri_type
{
record of XSD.String attr optional,
XSD.AnyURI uri,
XSD.String display_text optional,
XSD.String purpose optional,
Execution_type modified optional,
record of XSD.String elem_list
}
with {
variant "name as 'uri-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* KEYWORDS TYPE */
type record of XSD.String Keywords_type
with {
variant "name as 'keywords-type'";
variant "list";
};
/* USERS TYPE */
type record Users_type
{
State_type state optional,
record of XSD.String attr optional,
record of User_type user_list,
record of XSD.String elem_list
}
with {
variant "name as 'users-type'";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (user_list) "untagged";
variant (user_list[-]) "name as 'user'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* USER TYPE */
type record User_type
{
XSD.AnyURI entity optional,
State_type state optional,
record of XSD.String attr optional,
XSD.String display_text optional,
Uris_type associated_aors optional,
User_roles_type roles optional,
User_languages_type languages optional,
XSD.AnyURI cascaded_focus optional,
record of Endpoint_type endpoint_list,
record of XSD.String elem_list
}
with {
variant "name as 'user-type'";
variant (entity) "attribute";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (associated_aors) "name as 'associated-aors'";
variant (cascaded_focus) "name as 'cascaded-focus'";
variant (endpoint_list) "untagged";
variant (endpoint_list[-]) "name as 'endpoint'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* USER ROLES TYPE */
type record User_roles_type
{
record of XSD.String attr optional,
record length(1 .. infinity) of XSD.String entry_list
}
with {
variant "name as 'user-roles-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (entry_list) "untagged";
variant (entry_list[-]) "name as 'entry'";
};
/* USER LANGUAGES TYPE */
type record of XSD.Language User_languages_type
with {
variant "name as 'user-languages-type'";
variant "list";
};
/* ENDPOINT TYPE */
type record Endpoint_type
{
XSD.String entity optional,
State_type state optional,
record of XSD.String attr optional,
XSD.String display_text optional,
Execution_type referred optional,
Endpoint_status_type status optional,
Joining_type joining_method optional,
Execution_type joining_info optional,
Disconnection_type disconnection_method optional,
Execution_type disconnection_info optional,
record of Media_type media_list,
Call_type call_info optional,
record of XSD.String elem_list
}
with {
variant "name as 'endpoint-type'";
variant (entity) "attribute";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (joining_method) "name as 'joining-method'";
variant (joining_info) "name as 'joining-info'";
variant (disconnection_method) "name as 'disconnection-method'";
variant (disconnection_info) "name as 'disconnection-info'";
variant (media_list) "untagged";
variant (media_list[-]) "name as 'media'";
variant (call_info) "name as 'call-info'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* ENDPOINT STATUS TYPE */
type enumerated Endpoint_status_type
{
alerting,
connected,
dialing_in,
dialing_out,
disconnected,
disconnecting,
muted_via_focus,
on_hold,
pending
}
with {
variant "text 'dialing_in' as 'dialing-in'";
variant "text 'dialing_out' as 'dialing-out'";
variant "text 'muted_via_focus' as 'muted-via-focus'";
variant "text 'on_hold' as 'on-hold'";
variant "name as 'endpoint-status-type'";
};
/* JOINING TYPE */
type enumerated Joining_type
{
dialed_in,
dialed_out,
focus_owner
}
with {
variant "text 'dialed_in' as 'dialed-in'";
variant "text 'dialed_out' as 'dialed-out'";
variant "text 'focus_owner' as 'focus-owner'";
variant "name as 'joining-type'";
};
/* DISCONNECTION TYPE */
type enumerated Disconnection_type
{
booted,
busy,
departed,
failed
}
with {
variant "name as 'disconnection-type'";
};
/* EXECUTION TYPE */
type record Execution_type
{
record of XSD.String attr optional,
XSD.DateTime when optional,
XSD.String reason optional,
XSD.AnyURI by optional
}
with {
variant "name as 'execution-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* CALL TYPE */
type record Call_type
{
record of XSD.String attr optional,
union {
Sip_dialog_id_type sip,
record of XSD.String elem_list
} choice
}
with {
variant "name as 'call-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (choice) "untagged";
variant (choice.elem_list) "untagged";
variant (choice.elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* SIP DIALOG ID TYPE */
type record Sip_dialog_id_type
{
record of XSD.String attr optional,
XSD.String display_text optional,
XSD.String call_id,
XSD.String from_tag,
XSD.String to_tag,
record of XSD.String elem_list
}
with {
variant "name as 'sip-dialog-id-type'";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (call_id) "name as 'call-id'";
variant (from_tag) "name as 'from-tag'";
variant (to_tag) "name as 'to-tag'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* MEDIA TYPE */
type record Media_type
{
XSD.String id,
record of XSD.String attr optional,
XSD.String display_text optional,
XSD.String type_ optional,
XSD.String label_ optional,
XSD.String src_id optional,
Media_status_type status optional,
record of XSD.String elem_list
}
with {
variant "name as 'media-type'";
variant (id) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (display_text) "name as 'display-text'";
variant (type_) "name as 'type'";
variant (label_) "name as 'label'";
variant (src_id) "name as 'src-id'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
};
/* MEDIA STATUS TYPE */
type enumerated Media_status_type
{
inactive,
recvonly,
sendonly,
sendrecv
}
with {
variant "name as 'media-status-type'";
};
/* SIDEBARS BY VAL TYPE */
type record Sidebars_by_val_type
{
State_type state optional,
record of XSD.String attr optional,
record of Conference_type entry_list
}
with {
variant "name as 'sidebars-by-val-type'";
variant (state) "defaultForEmpty as 'full'";
variant (state) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
variant (entry_list) "untagged";
variant (entry_list[-]) "name as 'entry'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:conference-info' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_pidf.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Aug 7 08:36:53 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - RFC3863_pidf.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:ietf:params:xml:ns:pidf" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_pidf {
import from XSD all;
import from urn_ietf_params_xml_ns_pidf_geopriv10 all;
import from http_www_w3_org_XML_1998_namespace all;
const XSD.Boolean c_defaultForEmpty_1 := false;
/* This import brings in the XML language attribute xml:lang */
type Presence_1 Presence
with {
variant "name as uncapitalized";
variant "element";
};
type record Presence_1
{
XSD.AnyURI entity,
record of Tuple tuple_list,
record of Note note_list,
record of XSD.String elem_list
}
with {
variant "name as 'presence'";
variant (entity) "attribute";
variant (tuple_list) "untagged";
variant (tuple_list[-]) "name as 'tuple'";
variant (note_list) "untagged";
variant (note_list[-]) "name as 'note'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified"; // , 'urn:ietf:params:xml:ns:pidf'
};
type record Tuple
{
XSD.ID id,
Status status,
record of XSD.String elem_list,
Contact contact optional,
record of Note note_list,
XSD.DateTime timestamp_ optional
}
with {
variant "name as uncapitalized";
variant (id) "attribute";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified"; // , 'urn:ietf:params:xml:ns:pidf'
variant (note_list) "untagged";
variant (note_list[-]) "name as 'note'";
};
type record Status
{
Basic basic optional,
Geopriv_1 geopriv,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (geopriv) "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10'"
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf'";
};
type enumerated Basic
{
closed,
open
}
with {
variant "name as uncapitalized";
};
type record Contact
{
Qvalue priority optional,
XSD.AnyURI base
}
with {
variant "name as uncapitalized";
variant (priority) "attribute";
variant (base) "untagged";
};
type record Note
{
Lang lang optional,
XSD.String base
}
with {
variant "name as uncapitalized";
variant (lang) "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
variant (lang) "attribute";
variant (base) "untagged";
};
/* xs:pattern value="0(.[0-9]{0,3})?"/>
<xs:pattern value="1(.0{0,3})?"/ ! */
type XSD.Decimal Qvalue
with {
variant "name as uncapitalized";
};
/* Global Attributes */
/* This attribute may be used on any element within an optional
PIDF extension to indicate that the corresponding element must
be understood by the PIDF processor if the enclosing optional
element is to be handled. */
type XSD.Boolean MustUnderstand
with {
variant "defaultForEmpty as c_defaultForEmpty_1";
variant "name as uncapitalized";
variant "attribute";
//variant "text 'true' as '1'";
//variant "text 'false' as '0'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:pidf' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_pidf_geopriv10.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Aug 7 08:36:53 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - RFC4119_geopriv10.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:ietf:params:xml:ns:pidf:geopriv10" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_pidf_geopriv10 {
import from XSD all;
import from urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy all;
import from urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr all;
import from http_www_w3_org_XML_1998_namespace all;
import from http_www_opengis_net_gml all;
import from http_www_opengis_net_pidflo_1_0 all;
/* This import brings in the XML language attribute xml:lang */
type Geopriv_1 Geopriv
with {
variant "name as uncapitalized";
variant "element";
};
type record Geopriv_1
{
LocInfoType location_info,
LocPolicyType usage_rules,
LocMethod method optional,
LocProvidedBy provided_by optional,
record of XSD.String elem_list
}
with {
variant "name as 'geopriv'";
variant (location_info) "name as 'location-info'";
variant (usage_rules) "name as 'usage-rules'";
variant (provided_by) "name as 'provided-by'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10'";
};
type union LocInfoType
{
PointType point,
CircleType circle,
CivicAddress civic
}
with {
variant (point) "name as 'Point'";
variant (point) "namespace as 'http://www.opengis.net/gml'";
variant (circle) "name as 'Circle'";
variant (circle) "namespace as 'http://www.opengis.net/pidflo/1.0'";
variant (civic) "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr'";
variant (civic) "name as 'civicAddress'";
};
type record LocMethod
{
Lang lang optional,
XSD.String base
}
with {
variant "name as uncapitalized";
variant (lang) "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
variant (lang) "attribute";
variant (base) "untagged";
};
type record LocProvidedBy
{
record length(1 .. infinity) of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Aug 7 08:36:53 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - RFC4119_geopriv10_basic_policy.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_pidf_geopriv10_basicPolicy {
import from XSD all;
import from http_www_w3_org_XML_1998_namespace all;
/* This import brings in the XML language attribute xml:lang */
type record LocPolicyType
{
XSD.Boolean retransmission_allowed optional,
XSD.DateTime retention_expiry optional,
XSD.AnyURI external_ruleset optional,
Notewell note_well optional,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (retransmission_allowed) "name as 'retransmission-allowed'";
//variant (retransmission_allowed) "text 'true' as '1'";
//variant (retransmission_allowed) "text 'false' as '0'";
variant (retention_expiry) "name as 'retention-expiry'";
variant (external_ruleset) "name as 'external-ruleset'";
variant (note_well) "name as 'note-well'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy'";
};
type record Notewell
{
Lang lang optional,
XSD.String base
}
with {
variant "name as uncapitalized";
variant (lang) "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
variant (lang) "attribute";
variant (base) "untagged";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2018 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/6 R4B
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Tue Aug 7 08:36:53 2018
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - RFC5139_pdif_geopriv10_civic_address.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_pidf_geopriv10_civicAddr {
import from XSD all;
import from http_www_w3_org_XML_1998_namespace all;
type XSD.Token Iso3166a2 (pattern "[A-Z]#(2)")
with {
variant "name as uncapitalized";
};
type record CaType
{
Lang lang optional,
XSD.Token base
}
with {
variant "name as uncapitalized";
variant (lang) "namespace as 'http://www.w3.org/XML/1998/namespace' prefix 'xml'";
variant (lang) "attribute";
variant (base) "untagged";
};
type CivicAddress_1 CivicAddress
with {
variant "name as uncapitalized";
variant "element";
};
type record CivicAddress_1
{
record of XSD.String attr optional,
Iso3166a2 country optional,
CaType a1 optional,
CaType a2 optional,
CaType a3 optional,
CaType a4 optional,
CaType a5 optional,
CaType a6 optional,
CaType pRM optional,
CaType pRD optional,
CaType rD optional,
CaType sTS optional,
CaType pOD optional,
CaType pOM optional,
CaType rDSEC optional,
CaType rDBR optional,
CaType rDSUBBR optional,
CaType hNO optional,
CaType hNS optional,
CaType lMK optional,
CaType lOC optional,
CaType fLR optional,
CaType nAM optional,
CaType pC optional,
CaType bLD optional,
CaType uNIT optional,
CaType rOOM optional,
CaType sEAT optional,
XSD.Token pLC optional,
CaType pCN optional,
CaType pOBOX optional,
CaType aDDCODE optional,
record of XSD.String elem_list
}
with {
variant "name as 'civicAddress'";
variant (attr) "anyAttributes";
variant (a1) "name as capitalized";
variant (a2) "name as capitalized";
variant (a3) "name as capitalized";
variant (a4) "name as capitalized";
variant (a5) "name as capitalized";
variant (a6) "name as capitalized";
variant (pRM) "name as capitalized";
variant (pRD) "name as capitalized";
variant (rD) "name as capitalized";
variant (sTS) "name as capitalized";
variant (pOD) "name as capitalized";
variant (pOM) "name as capitalized";
variant (rDSEC) "name as capitalized";
variant (rDBR) "name as capitalized";
variant (rDSUBBR) "name as capitalized";
variant (hNO) "name as capitalized";
variant (hNS) "name as capitalized";
variant (lMK) "name as capitalized";
variant (lOC) "name as capitalized";
variant (fLR) "name as capitalized";
variant (nAM) "name as capitalized";
variant (pC) "name as capitalized";
variant (bLD) "name as capitalized";
variant (uNIT) "name as capitalized";
variant (rOOM) "name as capitalized";
variant (sEAT) "name as capitalized";
variant (pLC) "name as capitalized";
variant (pCN) "name as capitalized";
variant (pOBOX) "name as capitalized";
variant (aDDCODE) "name as capitalized";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr' prefix 'ca'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_reginfo.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - regInfo.xsd
// /* xml version = "1.0" */
// /* targetnamespace = "urn:ietf:params:xml:ns:reginfo" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_reginfo {
import from XSD all;
import from http_www_w3_org_XML_1998_namespace all;
/* RFC 3680 clause 5.4 */
/* This import brings in the XML language attribute xml:lang */
type record Reginfo
{
enumerated {
full,
partial
} state,
XSD.NonNegativeInteger version,
record of Registration registration_list,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant "element";
variant (state) "attribute";
variant (version) "attribute";
variant (registration_list) "untagged";
variant (registration_list[-]) "name as 'registration'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:reginfo'";
};
type record Registration
{
XSD.AnyURI aor,
XSD.String id,
enumerated {
active,
init,
terminated
} state,
record of Contact contact_list,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant "element";
variant (aor) "attribute";
variant (id) "attribute";
variant (state) "attribute";
variant (contact_list) "untagged";
variant (contact_list[-]) "name as 'contact'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:reginfo'";
};
type record Contact
{
XSD.String callid optional,
XSD.UnsignedLong cseq optional,
XSD.UnsignedLong duration_registered optional,
enumerated {
created,
deactivated,
expired,
probation,
refreshed,
registered,
rejected,
shortened,
unregistered
} event,
XSD.UnsignedLong expires optional,
XSD.String id,
XSD.String q optional,
XSD.UnsignedLong retry_after optional,
enumerated {
active,
terminated
} state,
XSD.AnyURI uri,
record {
Lang lang optional,
XSD.String base
} display_name optional,
record of record {
XSD.String name,
XSD.String base
} unknown_param_list,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant "element";
variant (callid) "attribute";
variant (cseq) "attribute";
variant (duration_registered) "name as 'duration-registered'";
variant (duration_registered) "attribute";
variant (event) "attribute";
variant (expires) "attribute";
variant (id) "attribute";
variant (q) "attribute";
variant (retry_after) "name as 'retry-after'";
variant (retry_after) "attribute";
variant (state) "attribute";
variant (display_name) "name as 'display-name'";
variant (display_name.lang) "attribute";
variant (display_name.base) "untagged";
variant (unknown_param_list) "untagged";
variant (unknown_param_list[-]) "name as 'unknown-param'";
variant (unknown_param_list[-].name) "attribute";
variant (unknown_param_list[-].base) "untagged";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:reginfo'";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:reginfo' prefix 'tns'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_ietf_params_xml_ns_resource_lists.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - ResourceList.xsd
// /* xml version = "1.0" encoding = "UTF-8" standalone = "no" */
// /* targetnamespace = "urn:ietf:params:xml:ns:resource-lists" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_ietf_params_xml_ns_resource_lists {
import from XSD all;
import from http_www_w3_org_XML_1998_namespace all;
type record ListType
{
XSD.String name optional,
record of XSD.String attr optional,
Display_nameType display_name optional,
record of record {
union {
record {
XSD.String name optional,
record of XSD.String attr optional,
Display_nameType display_name optional,
record of record {
union {
record {
XSD.String name optional,
record of XSD.String attr optional,
record of XSD.String elem_list
} list,
ExternalType external_,
EntryType entry,
Entry_refType entry_ref
} choice
} sequence_list,
record of XSD.String elem_list
} list,
ExternalType external_,
EntryType entry,
Entry_refType entry_ref
} choice
} sequence_list,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (name) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (display_name) "name as 'display-name'";
variant (sequence_list) "untagged";
variant (sequence_list[-]) "untagged";
variant (sequence_list[-].choice) "untagged";
variant (sequence_list[-].choice.list.name) "attribute";
variant (sequence_list[-].choice.list.attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (sequence_list[-].choice.list.display_name) "name as 'display-name'";
variant (sequence_list[-].choice.list.sequence_list) "untagged";
variant (sequence_list[-].choice.list.sequence_list[-]) "untagged";
variant (sequence_list[-].choice.list.sequence_list[-].choice) "untagged";
variant (sequence_list[-].choice.list.sequence_list[-].choice.list.name) "attribute";
variant (sequence_list[-].choice.list.sequence_list[-].choice.list.attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (sequence_list[-].choice.list.sequence_list[-].choice.list.elem_list) "untagged";
variant (sequence_list[-].choice.list.sequence_list[-].choice.list.elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (sequence_list[-].choice.list.sequence_list[-].choice.external_) "name as 'external'";
variant (sequence_list[-].choice.list.sequence_list[-].choice.entry_ref) "name as 'entry-ref'";
variant (sequence_list[-].choice.list.elem_list) "untagged";
variant (sequence_list[-].choice.list.elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (sequence_list[-].choice.external_) "name as 'external'";
variant (sequence_list[-].choice.entry_ref) "name as 'entry-ref'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
};
type record EntryType
{
XSD.AnyURI uri,
record of XSD.String attr optional,
record {
Lang lang optional,
XSD.String base
} display_name optional,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (uri) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (display_name) "name as 'display-name'";
variant (display_name.lang) "attribute";
variant (display_name.base) "untagged";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
};
type record Entry_refType
{
XSD.AnyURI ref,
record of XSD.String attr optional,
Display_nameType display_name optional,
record of XSD.String elem_list
}
with {
variant "name as 'entry-refType'";
variant (ref) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (display_name) "name as 'display-name'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
};
type record ExternalType
{
XSD.AnyURI anchor optional,
record of XSD.String attr optional,
Display_nameType display_name optional,
record of XSD.String elem_list
}
with {
variant "name as uncapitalized";
variant (anchor) "attribute";
variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
variant (display_name) "name as 'display-name'";
variant (elem_list) "untagged";
variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:resource-lists'";
};
type record Resource_lists
{
record of record {
ListType list
} sequence_list
}
with {
variant "name as 'resource-lists'";
variant "element";
variant (sequence_list) "untagged";
variant (sequence_list[-]) "untagged";
};
type record Display_nameType
{
Lang lang optional,
XSD.String base
}
with {
variant "name as 'display-nameType'";
variant (lang) "attribute";
variant (base) "untagged";
};
}
with {
encode "XML";
variant "namespace as 'urn:ietf:params:xml:ns:resource-lists'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
/*******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
*
* XSD to TTCN-3 Translator version: CRL 113 200/5 R4D
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
//
// File: urn_oma_xml_xdm_common_policy.ttcn
// Description:
// References:
// Rev:
// Prodnr:
// Updated: Fri Mar 4 09:23:30 2016
// Contact: http://ttcn.ericsson.se
//
////////////////////////////////////////////////////////////////////////////////
// Generated from file(s):
// - xdm_commonPolicy-v1_0.xsd
// /* xml version = "1.0" encoding = "UTF-8" */
// /* targetnamespace = "urn:oma:xml:xdm:common-policy" */
////////////////////////////////////////////////////////////////////////////////
// Modification header(s):
//-----------------------------------------------------------------------------
// Modified by:
// Modification date:
// Description:
// Modification contact:
//------------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
module urn_oma_xml_xdm_common_policy {
import from XSD all;
/* OMA specific "conditions" child elements */
type EmptyType Other_identity
with {
variant "name as 'other-identity'";
variant "element";
};
type record External_list
{
record of AnchorType entry_list
}
with {
variant "name as 'external-list'";
variant "element";
variant (entry_list) "untagged";
variant (entry_list[-]) "name as 'entry'";
};
type EmptyType Anonymous_request
with {
variant "name as 'anonymous-request'";
variant "element";
};
type record AnchorType
{
XSD.AnyURI anc optional,
record of XSD.String attr optional
}
with {
variant "name as uncapitalized";
variant (anc) "attribute";
variant (attr) "anyAttributes";
};
type record EmptyType
{
}
with {
variant "name as uncapitalized";
};
}
with {
encode "XML";
variant "namespace as 'urn:oma:xml:xdm:common-policy'";
variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
variant "elementFormQualified";
}
sources := LibUpperTester.ttcn
\ No newline at end of file
FROM stfubuntu:20.04
LABEL ETSI AtsImsIot
LABEL description="ETSI AtsImsIot Docker Image"
ENV TERM=linux \
HOME=/home/etsi \
HOSTNAME=docker-etsi-AtsImsIot
COPY home /home/etsi
RUN /etc/init.d/ssh start
RUN cd /home/etsi \
&& chown -R etsi:etsi . \
&& ls ./etc/init.d/*.sh | while read S; do chmod 0750 "$S" || exit 1; done
USER etsi
RUN cd ${HOME} \
&& ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 \
&& export PATH=$HOME/bin:$PATH \
&& ls ${HOME}/etc/init.d/*.sh | while read S; do /bin/bash -c "$S" || exit 1; done \
&& rm -fr ${HOME}/etc
CMD ["/bin/bash"]
# That's all Floks
FROM ubuntu:20.04
LABEL ETSI CTI
LABEL description="STF Docker Ubuntu image"
ENV TERM=linux \
HOSTNAME=docker-STF
RUN echo "docker-STF-dev" > /etc/hostname \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
autoconf \
bison \
build-essential \
cmake \
curl \
dos2unix \
doxygen \
emacs \
expect \
flex \
g++-9 \
gcc-9 \
git \
gnutls-bin \
graphviz \
iputils-ping \
libedit2 \
libedit-dev \
libffi-dev \
libglib2.0-dev \
libgcrypt-dev \
libjsoncpp-dev \
libncurses5-dev \
libpcap-dev \
libssl-dev \
libtool-bin \
libtool \
libxml2-dev \
libxml2-utils \
libyaml-dev \
lsof \
ntp \
openssh-server \
pkg-config \
python3-dev \
python3-pip \
python3-setuptools \
sudo \
sshpass \
tcpdump \
texlive-font-utils \
texlive-latex-extra \
tzdata \
valgrind \
xutils-dev \
xsltproc \
&& DEBIAN_FRONTEND=noninteractive apt-get autoremove --purge -y \
&& DEBIAN_FRONTEND=noninteractive apt-get autoclean \
&& pip3 install --upgrade setuptools pip \
&& useradd --create-home --shell /bin/bash etsi \
&& echo "etsi:etsi" | chpasswd \
&& adduser etsi sudo \
&& echo "" >> /etc/profile \
&& echo 'export HOME=/home/etsi' >> /etc/profile \
&& echo 'export LD_LIBRARY_PATH=${HOME}/lib:$LD_LIBRARY_PATH' >> /etc/profile \
&& echo 'export PATH=${HOME}/bin:$PATH' >> /etc/profile \
&& echo 'cd ${HOME}' >> /etc/profile \
&& echo ". ./devenv.bash" >> /etc/profile \
&& cd /home/etsi \
&& echo "" >> ./.profile \
&& echo 'export HOME=/home/etsi' >> ./.profile \
&& echo 'export LD_LIBRARY_PATH=${HOME}/lib:$LD_LIBRARY_PATH' >> ./.profile \
&& echo 'export PATH=${HOME}/bin:$PATH' >> ./.profile \
&& echo 'cd ${HOME}' >> ./.profile \
&& echo ". ./devenv.bash" >> ./.profile \
&& mkdir -p bin lib include tmp frameworks docs man dev \
&& chown -R etsi:etsi *
EXPOSE 22
CMD ["/bin/bash"]
# That's all Floks
# HOWTO build docker images
## General imformation
Pre-requisites on your host machine:
- Install [Docker](https://docs.docker.com/install/)
#### From Windows host:
- Install [Virtualbox](https://www.virtualbox.org/manual/ch01.html)
- Install any X Server. For example [VcXsrv](https://sourceforge.net/projects/vcxsrv/)
#### From Mac host:
- Install [Virtualbox](https://www.virtualbox.org/manual/ch01.html)
- Install [XQuartz](https://www.xquartz.org)
#### From Linux host:
- No other requirements
## Build docker image
For Windows host, rename ```build.cmd.a``` and ```run.cmd.a``` to ```build.cmd``` and ```run.cmd``` respectivelly.
Special scrips ```build.sh``` (or ```build.cmd```) can be executed to automatically build all necessary images.
There are several build stages:
1. Build STF Ubuntu 18.04 image
2. Install Titan from Github
3. Install Eclipse and Titan Eclipse plugin into ~/frameworks/titan
4. Install asn1c into ~/frameworks/asn1c
5. Checkout STF569 sources from ETSI svn repository using default credentials
6. Build ASN.1 recoder library
7. Build certificate generation tool
## Import and build ETSI AtsImsIot project
### Run Docker image
#### From Windows host:
1. Authorize Docker container to interact with the XServer:
Go to the X Server installation directory and add the Docker container ip address to the file ```X0.hosts```:
```
localhost
inet6:localhost
192.168.99.100
```
Execute ```run.cmd``` or launch a command line window and run the command
```docker run -it --net=host -e DISPLAY=192.168.99.1:0 AtsImsIot:latest```
NOTE: Modify the IP address in the command for the address of 'VirtualBox Hot-Only Network'.
#### From Linux host:
Execute ```run.sh``` or launch a command line window and run the command
```sh
docker run -it --net=host -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix AtsImsIot:latest
```
### Import eclipse project
1. Whithin the docker container, on the linux command prompt type:
```eclipse -data ~/dev/Workspace```
Eclipse IDE shall be shown on the hosts Screen.
Possible problems:
- eclipse not found: check the PATH environment variable. It shall contain $HOME/bin path. Otherwise add it:
```export PATH=$HOME/bin:$PATH```
2. Run "File -> Import" and import the ```~/dev/AtsImsIot/AtsImsIot.tpd``` file.
This can take a time, be patient.
**Do not run build in eclipse**, we don't have enough time.
### Build the project
```cd ~/Workspace/AtsImsIot/bin```
```make```
Possible problems:
- Error in AbstractSocket build: Build it explicitly:
```cd ~/Workspace/Abstract_Socket_CNL113384/bin_ssl && make```
### Execute tests
1. Launch eclipse: ```eclipse -data ~/dev/Workspace```
2. Select configuration from the /etc/folder:
- AtsImsIot.cfg - Default ETSI AtsImsIot test suite.
3. Right-click on the configuration file and select **Run As -> TITAN Parallel launcher**
#!/bin/bash
# Copyright ETSI 2020-2021
# See: https://forge.etsi.org/etsi-forge-copyright-statement.txt
set -e
set -vx
# Force removing stfubuntu docker image
if [ "$1" == "--force-stfubuntu" ]; then
if [ -n `docker images -q stfubuntu` ]; then
docker rmi --force `docker images -q stfubuntu` || exit 1
fi
fi
# Check and build stfubuntu image
if [ -z `docker images -q stfubuntu` ]; then
docker build --no-cache --tag stfubuntu:20.04 -f Dockerfile.stfubuntu --force-rm . || exit 1
fi
docker build --no-cache --tag etsiforge/AtsImsIot --force-rm . || ( echo "Docker build failed: $?"; exit 1 )
docker images
docker inspect etsiforge/AtsImsIot:latest || ( echo "Docker inspect failed: $?"; exit 1 )
# That's all Floks
exit 0