Schema Central > niem40 > cbrn.xsd > cbrn:compressionCode
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

cbrn:compressionCode

An algorithm, if any, by which the channel data have been compressed.  If this attribute is omitted, the data have not been compressed.  The kinds of data compression are as follows:  - None: the data are not compressed.  The number of values in the ChannelData element is equal to the number of channels of data represented by the element. - CountedZeroes: the data have been compressed by the removal of repeated zero values. When a "0" value appears in the ChannelData contents, the next value is the number of consecutive zero-value channels beginning with the first zero-value in the sequence. For example, the following 18 channels of uncompressed data: 22 5 0 2 1 0 0 3 4 0 0 0 0 0 0 0 0 1 would be represented in compressed form by 22 5 0 1 2 1 0 2 3 4 0 8 1 The italicized values in the list show cases where one, two, and eight zeroes have been compressed.

Attribute information

Value

  • Type based on xsd:token
    • Valid valueDescription
      CountedZeroesThe data is compressed using the CountedZeroes algorithm.
      NoneNo compression
  • Used in