InternationalTelecommunicationUnionITU-TZ.169TELECOMMUNICATIONSTANDARDIZATIONSECTOROFITU(11/2008)SERIESZ:LANGUAGESANDGENERALSOFTWAREASPECTSFORTELECOMMUNICATIONSYSTEMSFormaldescriptiontechniques(FDT)–TestingandTestControlNotation(TTCN)TestingandTestControlNotationversion3:TTCN-3mappingfromXMLdatadefinitionRecommendationITU-TZ.169ITU-TZ-SERIESRECOMMENDATIONSLANGUAGESANDGENERALSOFTWAREASPECTSFORTELECOMMUNICATIONSYSTEMSFORMALDESCRIPTIONTECHNIQUES(FDT)SpecificationandDescriptionLanguage(SDL)Z.100–Z.109ApplicationofformaldescriptiontechniquesZ.110–Z.119MessageSequenceChart(MSC)Z.120–Z.129ExtendedObjectDefinitionLanguage(eODL)Z.130–Z.139UserRequirementsNotation(URN)Z.150–Z.159TestingandTestControlNotation(TTCN)Z.160–Z.179PROGRAMMINGLANGUAGESCHILL:TheITU-ThighlevellanguageZ.200–Z.209MAN-MACHINELANGUAGEGeneralprinciplesZ.300–Z.309BasicsyntaxanddialogueproceduresZ.310–Z.319ExtendedMMLforvisualdisplayterminalsZ.320–Z.329Specificationoftheman-machineinterfaceZ.330–Z.349Data-orientedhuman-machineinterfacesZ.350–Z.359Human-machineinterfacesforthemanagementoftelecommunicationsnetworksZ.360–Z.379QUALITYQualityoftelecommunicationsoftwareZ.400–Z.409Qualityaspectsofprotocol-relatedRecommendationsZ.450–Z.459METHODSMethodsforvalidationandtestingZ.500–Z.519MIDDLEWAREProcessingenvironmentarchitecturesZ.600–Z.609Forfurtherdetails,pleaserefertothelistofITU-TRecommendations.Rec.ITU-TZ.169(11/2008)iRecommendationITU-TZ.169TestingandTestControlNotationversion3:TTCN-3mappingfromXMLdatadefinitionSummaryRecommendationITU-TZ.169definesthemappingrulesforW3CSchematoTTCN-3toenabletestingofXML-basedsystems,interfacesandprotocols.SourceRecommendationITU-TZ.169wasapprovedon29November2008byITU-TStudyGroup17(2009-2012)underRecommendationITU-TA.8procedures.iiRec.ITU-TZ.169(11/2008)FOREWORDTheInternationalTelecommunicationUnion(ITU)istheUnitedNationsspecializedagencyinthefieldoftelecommunications,informationandcommunicationtechnologies(ICTs).TheITUTelecommunicationStandardizationSector(ITU-T)isapermanentorganofITU.ITU-Tisresponsibleforstudyingtechnical,operatingandtariffquestionsandissuingRecommendationsonthemwithaviewtostandardizingtelecommunicationsonaworldwidebasis.TheWorldTelecommunicationStandardizationAssembly(WTSA),whichmeetseveryfouryears,establishesthetopicsforstudybytheITU-Tstudygroupswhich,inturn,produceRecommendationsonthesetopics.TheapprovalofITU-TRecommendationsiscoveredbytheprocedurelaiddowninWTSAResolution1.InsomeareasofinformationtechnologywhichfallwithinITU-T'spurview,thenecessarystandardsarepreparedonacollaborativebasiswithISOandIEC.NOTEInthisRecommendation,theexpressionAdministrationisusedforconcisenesstoindicatebothatelecommunicationadministrationandarecognizedoperatingagency.CompliancewiththisRecommendationisvoluntary.However,theRecommendationmaycontaincertainmandatoryprovisions(toensuree.g.,interoperabilityorapplicability)andcompliancewiththeRecommendationisachievedwhenallofthesemandatoryprovisionsaremet.Thewordsshallorsomeotherobligatorylanguagesuchasmustandthenegativeequivalentsareusedtoexpressrequirements.TheuseofsuchwordsdoesnotsuggestthatcompliancewiththeRecommendationisrequiredofanyparty.INTELLECTUALPROPERTYRIGHTSITUdrawsattentiontothepossibilitythatthepracticeorimplementationofthisRecommendationmayinvolvetheuseofaclaimedIntellectualPropertyRight.ITUtakesnopositionconcerningtheevidence,validityorapplicabilityofclaimedIntellectualPropertyRights,whetherassertedbyITUmembersorothersoutsideoftheRecommendationdevelopmentprocess.AsofthedateofapprovalofthisRecommendation,ITUhadnotreceivednoticeofintellectualproperty,protectedbypatents,whichmayberequiredtoimplementthisRecommendation.However,implementersarecautionedthatthismaynotrepresentthelatestinformationandarethereforestronglyurgedtoconsulttheTSBpatentdatabaseat©ITU2010Allrightsreserved.Nopartofthispublicationmaybereproduced,byanymeanswhatsoever,withoutthepriorwrittenpermissionofITU.Rec.ITU-TZ.169(11/2008)iiiCONTENTSPage1Scope............................................................................................................................12References.....................................................................................................................13Symbolsandabbreviations...........................................................................................23.1Symbols..........................................................................................................23.2Abbreviations.................................................................................................24Introduction..................................................................................................................25MappingXMLSchemas...............................................................................................35.1Namespacesanddocumentreferences...........................................................45.2Nameconversion......................................................................................