From 7f1ed056baf2d1f00f39c5b1bd2e5a7fd8f080d8 Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 26 Sep 2007 22:51:20 +0000 Subject: [PATCH] initial version git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1240 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0229.xml | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 xep-0229.xml diff --git a/xep-0229.xml b/xep-0229.xml new file mode 100644 index 00000000..03a031ba --- /dev/null +++ b/xep-0229.xml @@ -0,0 +1,94 @@ + + +%ents; +]> + + +
+ Stream Compression with LZW + This document specifies how to use the LZW algorithm in XML stream compression. + &LEGALNOTICE; + 0229 + Draft + Standards Track + Standards + + XMPP Core + XEP-0138 + + + + N/A + &stpeter; + + 1.0 + 2007-09-26 + psa + Per a vote of the XMPP Council, published as Draft. + + + 0.0.1 + 2007-08-30 + psa + Copied text from XEP-0138. + +
+ + +

&xep0138; specifies an extensible framework for XML stream compression and defines a registry for compression methods (see &COMPRESSMETHODS;). However, XEP-0138 registers only the ZLIB method (see &rfc1950;). This document specifies usage of the LZW compression method.

+
+ + +

The "LZW" compression algorithm was originally developed by Abraham Lempel and Jacob Ziv, subsequently improved by Terry Welch See "A Technique for High-Performance Data Compression", Computer (June 1984), pp. 8-19., and patented by Sperry Corporation (later Unisys Corporation) as U.S. Patent Number 4,464,650 See <http://patft.uspto.gov/netacgi/nph-Parser?patentnumber=4,464,650>.. This patent expired on June 20, 2003 See <http://www.unisys.com/about__unisys/lzw>.. Therefore implementations of LZW are no longer patent-encumbered.

+

The algorithm is specified by Ecma International in &ecma151; under the name "DCLZ".

+
+ + +

If the receiving entity (server) supports the LZW algorithm, it MUST include a <method/> element whose XML character data is "lzw" in the compression stream feature, as follows.

+ + + + zlib + lzw + + + ]]> +

If the initiating entity wishes to use the LZW algorithm, then it MUST specify that method.

+ + lzw + + ]]> +

The initiating entity and receiving entity then MUST attempt to negotiate use of the LZW algorithm in accordance with XEP-0138.

+

If the use of the LZW algorithm is negotiated, the usage SHOULD follow the definition in ECMA-151.

+
+ + +

The LZW algorithm is OPTIONAL to implement for XEP-0138 implementations and this specification does not define a mandatory-to-implement technology.

+
+ + +

The security considerations specified in XEP-0138 apply to usage of the LZW algorithm.

+
+ + +

This document requires no interaction with &IANA;.

+
+ + + +

The ®ISTRAR; maintains a registry of compression methods at &COMPRESSMETHODS;.

+

The LZW algorithm is already registered. This specification updates the registry submission as follows:

+ + lzw + the LZW (DCLZ) compression method + XEP-0229 + + ]]> +
+
+ +