ISO IEC 29500-2-2021.docx
INTERNATIONA1.STANDARDISO/IEC29500-2editionFOUrth202108Documentdescriptionandprocessing1.anguagesOfficeOpenXM1.fi1.eformatsPrepackagingconventionsDescriptiondesdocumentsetIangagesdetraitement-FormatsdeJichiernOfficeOpenXM1."Partie2:ConventionsdeP(IqUetageouvertReferencenumberiSO/IEC2950022021(E)COPYRIGHTPROTECTEDDOCUMENT©IS0/1EC2021M11c<hefivdi1.itedotherwise*ri快ChBxXniEX1.msitRiDhmw;Itmiihr<1.ij1.trfvx>CoPwnR.pnttjuiionpostingontheinternetoranInunnu1.withoutpriorwrittenpermission.PermissioncanberequestedfromeitherISOatt1.½addressbe1.oworISO*smemberhodyinthecountryofth<?rrcucstcr.三cB1.andonnct8r,GenevaPhone:t41227490111辆jtc:用洲部砾o.orgPub1.ishedinSwitzer1.andContentsviiForewordvIitroductionScopeNormativereferencesTermsanddefinitions3.1 Basics23.2 Abstractpackagemode1.3Bita1.叩匹(由igndtihw11b蚓43.5 Imp1.ementations543.6Coreproperties5Overview5Abstractpackagemode1.6.1 Genera1.66.2 Parts66.2.1 Genera1.Partnames6.2.3 Mediat),pes86.2.4 Growthhint86.3 就I5add御碗Sage.一._._.一.一.86.3.1 Genera1.8632PaCkscheme96:14fi三fifpackIRIIR1.toaresourc?.6.3.5 Equiva1.ence116.4 Reso1.vingre1.ativereferences11i:ii8舞派116.4 3EXamPIeS-126.5 Re1.ationships14包领WH1.shipsPar1.146.5.3Re1.ationshipmarkupIS6.54Examp1.es17Physica1.packagemode1.197.1 Genera1.197.2 Physica1.mappingguide1.ines197.2.1 IftingfedtciTOpofiittoysicHformats.197.2.3 Mappingmediatypestoparts207.2.4 Intericavitix23in眇梳P破棚tnamestophysica1.packageitemnames7.3.1 Genera1.257.3.2 Mappingpartdata25买好砒册明硼i/temnamest。ZIPitemnames7.3.5 MappingZIPitemnamesto1.ogica1.itemnames267.3.6 ZIPpackage1.imitations26W-Coreproperties278.1 Genera1.278.2 CorePropertiespart288.3 proehC8markup288.3.2 Supportforversioningandextensibi1.ity298.3.3 CorePropertiese1.ement299I。Thumbnai1.s32D1.gIta1.S1.gnatUreS3210.1 Genera1.3210.2 OverviewofOPC-SpecificrestrictionsandextensionstovXM1.-SignaturcSyntax10.3 andChoBriIgasHi吨ttosign32164*signaturep3*ts.3310.4.1Genera1.3318:4:2Digita1.SignatureOriginyH31腮"Part3310.4.4Digita1.SignatureCertificatepart.34105Dtsit<1.S1.gnatUreI1.arkUP3410:§:?蜥即forversioningandextensibi1.ity3410.5.3S1.inaicme1.ement3410.5.4SigncdInfoCIenWrU351腕SMM*t0½u3ekmeotdement3510.5.7ReferenceCC11)C11t3510.5.8Transforme1.ementI&:§:?()Re1.ationshipsGroupReferencef1.f国段!.*£冉EDt.3710.5.11CigestKAthode1.ement3710.S.12Object,dement38105S111turaPrcxrEvA.*20.y.rHnrtieeinertre1.ement10.5.15Signature7i11e1.ement>>O10.5.16Formate1.ement3810.5.17va1.uee1.ement3910.5.18XPathRe1.ationshipstransforma1.gorithm39Diau1.Sienatureexamp1.e4067S610.9UeHdEtttnsignatures.41Annex A (informative)Preprocessingforgeneratingre1.ativereferences45Annex B (normative)Constraintsandc1.arificationsontheuseofZIPfeatures46Annex C (nomative)Schemas-W3CXM1.55Annex D (informative)Schemas-RE1.AXNG56Annex E (normative)Standardnamespacesandmediatypes一.一.一._.一.57Annex F (informative)Physica1.packagemode1.designconsiderations-58AnneXG(informative)DifferencesbetweenISO/IEC29500-2andECMA-376:200662AnnexH(informative)Packageexamp1.e.一.63Bib1.iography65ForewordCommission)formIECspecia1.izedsystemdeve1.opmentofStandardization.Standardsthroughtechnica1.organizations,governmenta1.andnon-governmenta1.,in1.iaisonwithISOandIECra1.sotakepartinthedescribedintypcsISO/IECDirectives.Partnoted.particu1.ar,docu11entdiffcrentapprova1.accordanceneededtheAttentiondrawn1.S0andpossibi1.itythatsomeOfresponsib1.eforofidcntifyinganymaya1.1.suchsubject1.istofpatentdec1.arationsreceived(seepatents.iec.ch).expressionsexp1.anationtoconformityassessment,OfasstandardsjnformationaboutISO,sadherencetoandSubcommitteeSCwasDocumentdescriptionTechnicaCommittee1.anguages.JTC1.rInformationtechno1.ogy,technica1.1.yrevised.Whereappropriate,normativereferenceshavebeenupdatedtouseundatedormorerecentversionsc1.ausesandthenreorganizingtermsintogroups.Sincedausefornotacronymssenseabbreviationsstandardtodefineprecedingande<iitions)hasbeenremoved.PartiCXiIarJResoIvingre1.ativereferences",hasinbeenadded;ratherthanRe1.ationshipspartsnewdefinitionofHWdiatyPetyPURFCbc2046emptytheexistingregu1.arexpressiondefinedconictsschemaISO(theInternationa1.OrganizationforStandardization)andIEC(theInternationa1.E1.ectrotechnica1.membersofISOtheparticipateintheforwor1.dwideInternationa1.Nationa1.bodiesarccommitteesestab1.ishedbytherespectiveorganizationtodea1.withparticu1.arfie1.dsoftechnica1.activity.ISOandIECmitteesco1.1.aborateinfie1.dsofmutua1.interest.Otherinternationa1.work.Theproceduresusedtodeve1.opthisdocumentandthoseintendedforitsfurthermaintenancearethedifferenttheofdocumentshou1.dbe1,InThiSthewasdraftedincriteriaWithfo。ediuirk1.门心31huISO/IECDirectives,Part2(seewww.iso.org/directivcsorwww.iec.ch/rnctnbers.expertsrefdocs).Ofpatentrights.totheIECsha1.1.notbehe1.dthee1.ementsthisdocumentorbethepatentrights.Detai1.sofanypatentrightsidentifiedduringthedeve1.opmentofUMUtHHeHVwU4¼MntheIntroductionand/orontheISO1.istofpatwt<1.»c1.ratonsreceived(seewww.iso.org/patents)ortheIECAnytradenameusedinthisdocumentisinformationgivenfortheconvenienceofusersanddoesnotconstituteanendorsementForanre1.atedofthevo1.untarynaturewe1.1.themeaningofSPeCifiCtermsHIeWomdT*da<a川ZatiOn(WTO)pw4f>6m,ho4chica)411论6STrade(TBT)seewww.iso.org/isoforeword.htn1.Inthe!EC.secwww.iec.chunderstandngstandards.Thisdocument34.preparedbyointandprocessingISO/IECThisfourtheditioncance1.sandrep1.acesthethirdedition(ISO/IEC29500-2:2012),whichhasbeenThemainchangescomparedtothepreviouseditionareasfo1.1.ows:ofotherstandards.C1.ause3(Termsanddefinitions)hasbeenrevisedbyremovingtermsnotusedbyanynormativeThesubc1.ausefordiagramnotes(5.1intheprecedingeditions)hasbeenremoved,sincecorepropertiesarenowdefinedbyproseandschemasratherthanbydiagrams.TheitdoesmakeandforISO/IEC(C1.ause6inthe,1SO",IEC,C1.ause6(Abstractpackagemode1.,C1.ause8inthepreviousedition)hasbeencomp1.ete1.yrewritten.Insubc1.ause,(1)packIRIshavebeendefinedthisc1.ause(3)partannex,(2)andpackageRe1.ationshipspartshavebeendistinguished;(4)baseIRIshavebeenc1.ear1.ydefined;and(5)hand1.ingofnon-ASCI1.charactersinpartnameshasbeenc1.arifiedonthebasisofRFC3987.TheoptionforreferencedbyC.2.intoanandstringhasbeenremoved,asthisthewiththe1.rbrhav1ng(Physica1.bcenitkrinddi1.hbttcft9a1.ithiprevrtuws.PditiG<QhnG(ibtt3hrtht1.ynteduntencodingofnon-ASC1.1.charactershavebeenexp1.icit1.yintroducedin7.3.4and7.3.5.rties,d10inthepreviousedition)hasbeenrewrittenbyusingproseandC1.ause10(Digita1.signatures.C1.ause12inthepreviousedition)hasbeenthorough1.yrevised.InthisWh懦国腕处隰碗悭福恻It提梯2曲翩幽猊蒲“检腌揄制廓E(Mti掘SfirStsignaturethisdocument.Attnex-Ahasbeenmadeinfo11native.ThenormativeannexthatdefinedpackIRIs(AnnexBintheprecedingeditions)hasbeendropped.PackIRIsarenowdefinedinC1.ause6.ooAm那B<1.tnwkessch1.f1.ndEintheprecedingeditions)no1.ongerdefineschemasbutGuide1.inesformeetingconformancerequirements(Annex11intheprecedingeditions)havebeendropped.Requirementsaroundstreamingconsumptionhavebeendropped.Whereverpossib1.e,requirementsonprogramshavebeenre¼ittenasthoseondata. AnnexHhasbeenaddedtodepictanexamp1.epackage. TheIndex(AnnexJintheprecedingeditions)hasbeende1.eted. Bib1.iographyhasbeenadded.A1.istofa1.1.partsintheISO/IEC29500seriescanbefoundontheISOandIECwebsites.Anyfeedbackorquestionsonthisdocumentshou1.dbedirectedtotheuser'snationa1.standardsbody.Acomp1.ete1.istingofthesebodiescanbefoundatwww.iso.org/members.htm1.andwww.iec.ch/naHona】-eemmiHee*i.IntroductionCiefinepackagingOfvocabu1.ariesthatword-processing,spreadsheetandpresentationdocuments,aswe1.1.assystems,p1.atforms,fosteringinteroperabi1.ityacrossdocumentproductivitypreservation,and1.ine-of-businesse1.ectronicdocumentinc1.udestwoannexes(Annex-GandAnnexD)thatrefertodatafi1.esprovidedinasShowncorrespondingPartofECMA-376:2006.Someofthedifferencesarcref1.ectedinschemachanges.byThisinformationproductnamed.convenienceproductsofmaydocumenttheydoesnotConstitute1.eadendorsemencviiISO/IEC29500(a1.1.Parts)specifiesafami1.yofXM1.schemas,co1.1.ective1.yca1.1.edOfficeOpenXM1.rwhichthetheXM1.documentsforconformtotheseschemas.Thegoa1.istoenab1.etheimp1.ementationoftheOfficeOpenXM1.formatsbythewidestsetoftoo1.sandwe1.1.assupportandstrengthenofficearchiva1.andapp1.icationsa1.1.awaythatfu1.1.ycompatib1.ewiththeexistingcorpusofMicrosoft®Officei)documents.Thisform.ThedocumentrepresentationformatsdefinedbythisdocumentaredifferentfromtheformatsdefinedintheAnnexG.Thisfourtheditionpreservesa1.1.previousfunctiona1.ityandaddsnonewfunctiona1.ity.anthesame1)ISOorIECtheisgivenfortheEquiva1.entofusersthisbeusedifandcanbeshownresu1.ts.Documentdescriptionandprocessing1.anguagesOfficeOpenXM1.fi1.eformatsOpenpackagingconventions1 Scope(parts)specificationsdescrihed(package).Theseconventions1.SO/1.ECappIicabIebutonIytotoOfficemarkup2 Normativereferencesconstitutesrequirements1.atesteditiondocument.referencedreferencesinc1.udingamendrnents)app1.ies.app1.ies.StandardCodeForInformationInterchange(7BitASCII),AmericanNationa1.StandardsInstitute(ANSI).DepartmentofCommerce,Ju1.y2013OpenXM1.Fi1.eFormatsPart3:MarkupCompatibi1.ityandExtensibi1.ityDirectory:Pub1.ic-keyandattributecertificateframeworkse1.ementsPropertiesandc1.assesNovember1996,N.FreedandN.Borenstein.Avai1.ab1.eatttpswwwiF-e<iHorieFginfoffe2046RFCnterntonrzedatttpfwwhf-HH<H4eFgHfeFfeWU7Society,January2005,DuerstrM.andP.0vere1.1.,(editors).Avai1.ab1.eatMsWWW.fcYdNor.org/infQ/rfc5234Part2:Thisdocumentdefinesasetofconventionsforpackagingoneormoreinterre1.atedbytestreamsXM1.sing1.easresourceinISO/IEC29500-1andare29500-4,nota1.sootherOpenspecifications.Thefo1.1.owingdomentsarereferredtointhetextinsuchawaythatsomeora1.1.oftheircontentundatedreferences,theofthisoftheFordateddocumenton1.ytheanyeditioncitedForANS1INC1TS4-1986R2017-InformationSystemsCodedCharacterSets7-BitAmericanNationa1.2017FIPS186-4,Digita1.SignatureStandard(DSS)1Nationa1.InstituteofStandardsandTechno1.ogy,USISO/IEC29500-3,Informationtechno1.ogyDocumentdescriptionandprocessing1.anguages-OfficeISO/IEC9594-8/ITU-TRec.X.509,Informationtechno1.ogyOpensystemsinterconnectionPan8:TheISO15836-1,InformationanddocumentationTheDub1.inCoremetadatae1.ementsetPQrt1:CoreISO15836-2,InformationanddocumentationTheDub1.inCoremetadatae1.ementsetPart2:DCMIRFC2046,Mu1.tipurposeInternetMai1.Extensions(MIME)PartTwo:MediaTypes,TheInternetSociety,RFC3986,UniformResourceIdentifier(URI):Ge时沁a*3r5W4<uw*uS4Berners-1.ee,T.,R.Fie1.ding,and1.Masinter.Avai1.ab1.eathttpsww¼r.rfc-editor.orginforfc3986andM.3987.Suignard.Avai1.ab1.eResourceIdentifiers(IR1.s),TheInternetRFC5234,AugmentedBNFforSyntaxSpecifications:BNF1.TheInternetSociety,January2008,D.CrockerRFC6931,Additiona1.XM1.SeaEfy5购用soygI#似ifiersfURKRTheInternetSociety1.ApriI2013,I).East1.ake3rd.Avai1.ab1.eathttps:/www.rfc-editor.org/info/rfc6931<Types>TheTypese1.ementisaContainerformediatypesusedwithinthepackage.Thefo1.1.owingisasamp1.e1.istofpartsandtheircorrespondingmediatypesasdefinedbytheMediaTypesstreamPartnameMediatypeabsamp1.e1.txttext/p1.ainabsamp!e3.pictureimage/gifabsamp1.e4.pictureimage/jpeg7.2.3.4 SettingapartmediatypeintheMediaTypesstreamWhenaddinganewparttoapackage,thepackageimp1.ementorsha1.1.ensurethatamediatypeforthatpartspecifiedintheMediaTypesstream.Thepackageimp1.ementersha1.1.performthefo1.1.owingstepsEodoisso:a) Gettheextensionfromthepartnamebytakingthesubstringtotherightoftherightmostoccurrenceofthedotcharacter(")fromtherightmostsegmentb) Ifapartnamehasnoextension,acorrespondingoverridee1.ementsha1.1.beaddedtotheMediaTyPeSstream.c) Comparee1.ementsresu1.tingthcextensionTypcsstream.ThecomparisonSha1.1.Extcnsiancase-insensitivematching.d) IfthereisaDefau1.te1.ementwithamatchingExtensionattribute,thenthemediatypeofthenewpartsha1.1.becomparedwiththeva1.ueoftheContentiypeattribute.Thecomparisonsha1.1.becaseinsensitiveandinc1.udeeverycharacterregard1.essofthero1.eitp1.aysinthecontent-typegrammarofRFC7231.1) Ifthemediatypesmatch,nofurtheractionisrequired.2) stream.me<1.iatypesdonotmatch,anewoverridee1.ementsha1.1.beaddedtotheMediaTypese) HEthe'ise1.e11wntcqfshMI电enddtWttheaMhingyPeSSWeanaHribUte,anewdefau1.te1.ementor7.2.3.5 DeterminingapartmediatypefromtheMediaTypesstreamTogetthemediatypeofapart,thepackageimp1.ementersha1.1.performthefo1.1.owingsteps:a) e1.ements.Thecomparisonsha1.1.theva1.uescase-insensitivematching.attributeoftheOverrideb) Contentiypcattribute.Noe1.ementactionismatchingPartXameattribute,returntheVaIURofitsc) IfthereisnoOverridee1.ementwithamatchingPartNameattribute,then1) gettheextensionfromthepartnamebytakingthesubstringtotherightoftherightmostoccurrenceofthedotcharacterfromtherightnwstsegment;O/IEC2021-A1.1.nghtsreservedofthetheDefau1.te1.ementsoftheMediasha1.1.becomparingtheextensionwithd) Ifthereisa>efauite1.ementwithamatchingxtenionattribute,returntheva1.ueofitscontent7ypattribute.Nofurtheractionisrequired.foundstepc).Whenmappinganabstractpackagetoaphysica1.package,thedatastreamofapartortheMediaTypescan1.aterbebejoinedintopieces,thepieceSha1.1.streamrbasedonpiecewhichmaybeinPiecesAPhySiCa1.packagemaycontainbothinter1.eavedpartsandnon-inter1.eavedparts.Inter1.eavedparts23Piecessha1.1.existon1.yinthephysica1.packageandsha1.1.notbeaddressab1.eintheabstractpackagemode1.Piecessha1.1.occurintheirnatura1.piece-numberorderandmaybeinter1.eavedwithpiecesofBecauseoftheperformancebenefitsitprovides,packageimp1.ementersshou1.dsupportinter1.eavingbutarenotrequiredtodoso.FordiscussionofperformancebenefitsOfinter1.eavingAmappingfromanabstractpackagetoaphysica1.packagesha1.1.use1.ogica1.itemsasintermediatepieceinfromsha1.1.be(7.2.4).IfapartpartorTypesstreamsha1.1.be1.ogica1.item.SecFigure1.1.ogica1.itemnamesFigure1-Mappingpartnamesto1.ogica1.itemnamesPartnames(Pub1.ic,case-insensitive)7.2.5.2 1.ogica1.itemnamesNamesof1.ogica1.itemssha1.1.beUnicodestrings.Thesupportofnon-ASCIIcharactersisnotrequired.If取而H11b9f旌SR1.meHo&NKQggi工U1.?。Iaitoe/'.1.aafthefo1.1.owingsyntax:Digit三-0mINonZeroDigitNonZroDigit-R1."m2wm3mIJmIw5Im6rm7h-Bww9-Theprefixofa1.ogica1.itemnameistheresu1.tofremovingasuffix,ifany,fromthe1.ogica1.itemname.bqtri股khHt*蜘啊的®