MS Xopp
MS Xopp
MS Xopp
Tools. The Open Specifications documentation does not require the use of Microsoft programming
tools or programming environments in order for you to develop an implementation. If you have access
to Microsoft programming tools and environments, you are free to take advantage of them. Certain
Open Specifications documents are intended for use in conjunction with publicly available standards
specifications and network programming art and, as such, assume that the reader either is familiar
with the aforementioned material or has immediate access to it.
1 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
Revision Summary
Revision Revision
Date History Class Comments
1/16/2009 0.1.1 Editorial Changed language and formatting in the technical content.
2/27/2009 0.1.2 Editorial Changed language and formatting in the technical content.
4/10/2009 0.1.3 Editorial Changed language and formatting in the technical content.
5/22/2009 0.1.4 Editorial Changed language and formatting in the technical content.
7/2/2009 0.1.5 Editorial Changed language and formatting in the technical content.
8/14/2009 0.1.6 Editorial Changed language and formatting in the technical content.
11/6/2009 0.2.1 Editorial Changed language and formatting in the technical content.
12/18/2009 0.2.2 Editorial Changed language and formatting in the technical content.
1/29/2010 0.2.3 Editorial Changed language and formatting in the technical content.
3/12/2010 0.2.4 Editorial Changed language and formatting in the technical content.
4/23/2010 0.2.5 Editorial Changed language and formatting in the technical content.
6/4/2010 0.2.6 Editorial Changed language and formatting in the technical content.
2 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
Revision Revision
Date History Class Comments
technical content.
3 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
Table of Contents
1 Introduction ............................................................................................................ 5
1.1 Glossary ........................................................................................................... 5
1.2 References ........................................................................................................ 5
1.2.1 Normative References ................................................................................... 5
1.2.2 Informative References ................................................................................. 6
1.3 Overview .......................................................................................................... 6
1.3.1 MIME Parts Ordering in Multipart/Related XOP Package Extension ....................... 6
1.4 Relationship to Other Protocols ............................................................................ 6
1.5 Prerequisites/Preconditions ................................................................................. 6
1.6 Applicability Statement ....................................................................................... 6
1.7 Versioning and Capability Negotiation ................................................................... 6
1.8 Vendor-Extensible Fields ..................................................................................... 7
1.9 Standards Assignments....................................................................................... 7
2 Messages ................................................................................................................. 8
2.1 Transport .......................................................................................................... 8
2.2 Message Syntax ................................................................................................. 8
2.2.1 Ordering of the MIME Parts in XOP Packages .................................................... 8
3 Protocol Details ....................................................................................................... 9
4 Protocol Examples ................................................................................................. 10
4.1 MIME Multipart/Related XOP Package Ordering .................................................... 10
5 Security ................................................................................................................. 11
5.1 Security Considerations for Implementers ........................................................... 11
5.2 Index of Security Parameters ............................................................................ 11
6 Appendix A: Product Behavior ............................................................................... 12
7 Change Tracking .................................................................................................... 13
8 Index ..................................................................................................................... 14
4 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
1 Introduction
XML-binary Optimized Packaging (XOP), as specified in [XML-XOP], defines a method for the
efficient serialization of XML Information Sets (XML Infosets) that have certain types of content.
The XML-binary Optimized Packaging (XOP) Profile extends XOP to allow for the creation of more
efficient implementations that process XML Infosets. This document, [MS-XOPP], describes the
serialization rules for XML Infosets as MIME Multipart/Related XOP packages but does not specify
how these XML Infosets are transmitted between network nodes.
Sections 1.5, 1.8, 1.9, 2, and 3 of this specification are normative. All other sections and examples in
this specification are informative.
1.1 Glossary
Multipurpose Internet Mail Extensions (MIME): A set of extensions that redefines and
expands support for various types of content in email messages, as described in [RFC2045],
[RFC2046], and [RFC2047].
SOAP message: An XML document consisting of a mandatory SOAP envelope, an optional SOAP
header, and a mandatory SOAP body. See [SOAP1.2-1/2007] section 5 for more information.
streaming: The act of processing a part of an XML Infoset without requiring that the entire XML
Infoset be available.
XML Information Set (Infoset): An abstract data set that provides a consistent set of definitions
for use in specifications that refer to the information in a well-formed XML document, as
described in [XMLINFOSET].
XML-binary Optimized Packaging (XOP): The packaging convention that efficiently serializes
XML Infosets that contain certain types of content, as described in [XML-XOP].
XOP Information Set (XOP Infoset): An XML Infoset in which optimized content has been
removed and replaced by <xop:Include> SOAP element information items, as described in
[XML-XOP].
XOP package: A package that offers an alternate serialization of an XML Infoset and that contains
the XOP document and any optimized content from the original XML Infoset, as described in
[XML-XOP].
MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as defined
in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.
1.2 References
Links to a document in the Microsoft Open Specifications library point to the correct section in the
most recently published version of the referenced document. However, because individual documents
in the library are not updated at the same time, the section numbers in the documents may not
match. You can confirm the correct section numbering by checking the Errata.
We conduct frequent surveys of the normative references to assure their continued availability. If you
have any issue with finding a normative reference, please contact dochelp@microsoft.com. We will
assist you in finding the relevant information.
5 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC
2119, March 1997, https://www.rfc-editor.org/info/rfc2119
[RFC2387] Levinson, E., "The MIME Multipart/Related Content-type", RFC 2387, August 1998,
https://www.rfc-editor.org/info/rfc2387
[XML-XOP] Gudgin, M., Mendelsohn, N., Nottingham, M., and Ruellan, H., "XML-binary Optimized
Packaging", January 25, 2005, http://www.w3.org/TR/2005/REC-xop10-20050125
[SOAP-MTOM] Gudgin, M., Medelsohn, N., Nottingham, M., and Ruellan, H., "SOAP Message
Transmission Optimization Mechanism", W3C Recommendation, 25 January 2005,
http://www.w3.org/TR/2005/REC-soap12-mtom-20050125/
1.3 Overview
The XML-binary Optimized Packaging (XOP) Profile provides extensions that enable more efficient
implementations of [XML-XOP] to be built by requiring certain ordering of the Multipurpose Internet
Mail Extensions (MIME) XML Information Set (XML Infoset) parts in the XOP package.
The standard XOP implementation, as specified in [XML-XOP] section 4.1, is not allowed to consider
the ordering of MIME parts to be significant to XOP processing or to the construction of the XOP
Information Set (XOP Infoset) for MIME Multipart/Related packaging. The XML-binary Optimized
Packaging (XOP) Profile extends the MIME Multipart/Related packaging mechanism specified in [XML-
XOP] to allow for the ordering of the MIME parts, as described in section 2.2.1. These extensions
enable the creation of more efficient implementations for processing an XML Infoset packaged in
MIME Multipart/Related XOP packages when streaming.
The XML-binary Optimized Packaging (XOP) Profile is an extension of [XML-XOP]. The extensions
specified in this document [MS-XOPP] do not introduce any new protocol relationships beyond those
specified in [XML-XOP] Appendix A.
1.5 Prerequisites/Preconditions
The MIME Parts Ordering in Multipart/Related XOP Package Extension specified in section 1.3.1 is
applicable when an XOP Infoset packaged in a MIME Multipart/Related XOP package is processed in
streaming fashion.
These extensions are not applicable to XOP packaging mechanisms other than MIME and those that do
not specify their own packaging mechanism.
If broad interoperability with implementations strictly compliant with [XML-XOP] is desired, these
extensions might not be a suitable choice.
6 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
1.8 Vendor-Extensible Fields
7 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
2 Messages
2.1 Transport
This specification defines only serialization rules for XOP packages and does not define how XOP
packages are transmitted on the network. As such, it does not have a transport.
Except as specified in section 2.2.1, the syntax used for specifying MIME Multipart/Related XOP
packaging is as specified in [XML-XOP] section 3, [XML-XOP] section 4.1, and [RFC2387].
The extensions provided by the XML–binary Optimized Packaging (XOP) Profile override the following
text located in [XML-XOP] section 4.1:
"Except for purposes of determining the root MIME part, as specified by [RFC2387], ordering of MIME
parts MUST NOT be considered significant to XOP processing or to the construction of the XOP
Infoset."
In streaming mode negotiated through a process that is out of band to this protocol, the root MIME
part MUST appear first in a MIME Multipart/Related XOP package, and the subsequent MIME parts
MUST appear in the order in which they appear in the corresponding XML Infoset.<1>
8 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
3 Protocol Details
The XML-binary Optimized Packaging (XOP) Profile does not introduce any new protocol roles or
change any existing protocol roles that are defined in [XML-XOP].
9 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
4 Protocol Examples
The XML-binary Optimized Packaging (XOP) Profile does not introduce any new protocol roles or
change any existing protocol roles that are defined in [XML-XOP]. Examples of how MIME
Multipart/Related XOP packages are ordered are provided in [XML-XOP] section 1.2.
10 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
5 Security
None.
11 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
6 Appendix A: Product Behavior
The information in this specification is applicable to the following Microsoft products or supplemental
software. References to product versions include updates to those products.
Windows Releases
Exceptions, if any, are noted in this section. If an update version, service pack or Knowledge Base
(KB) number appears with a product name, the behavior changed in that update. The new behavior
also applies to subsequent updates unless otherwise specified. If a product edition appears with the
product version, behavior is different in that product edition.
Unless otherwise specified, any statement of optional behavior in this specification that is prescribed
using the terms "SHOULD" or "SHOULD NOT" implies product behavior in accordance with the
SHOULD or SHOULD NOT prescription. Unless otherwise specified, the term "MAY" implies that the
product does not follow the prescription.
<1> Section 2.2.1: The Windows Web Services API element provides a buffered and streaming
programming model for exchanging and processing SOAP messages encoded as specified in [SOAP-
MTOM] between network nodes. When the Windows Web Services API's streaming programming
model is used to create SOAP messages, it follows the MIME parts ordering requirements specified in
section 2.2.1.
12 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
7 Change Tracking
This section identifies changes that were made to this document since the last release. Changes are
classified as Major, Minor, or None.
The revision class Major means that the technical content in the document was significantly revised.
Major changes affect protocol interoperability or implementation. Examples of major changes are:
The revision class Minor means that the meaning of the technical content was clarified. Minor changes
do not affect protocol interoperability or implementation. Examples of minor changes are updates to
clarify ambiguity at the sentence, paragraph, or table level.
The revision class None means that no new technical changes were introduced. Minor editorial and
formatting changes may have been made, but the relevant technical content is identical to the last
released version.
The changes made to this document are listed in the following table. For more information, please
contact dochelp@microsoft.com.
Revision
Section Description
class
13 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024
8 Index
A informative 6
normative 5
Applicability 6 Relationship to other protocols 6
C S
F Tracking changes 13
Transport 8
Fields - vendor-extensible 7
V
G
Vendor-extensible fields 7
Glossary 5 Versioning 6
Messages
syntax 8
transport 8
MIME multipart/related XOP package ordering
example 10
MIME parts - ordering of
in multipart/related XOP package extension 6
in XOP packages 8
Normative references 5
Overview (synopsis) 6
References 5
14 / 14
[MS-XOPP] - v20240423
XML-binary Optimized Packaging (XOP) Profile
Copyright © 2024 Microsoft Corporation
Release: April 23, 2024