SEQUENCE OF in a SEQUENCE

Take for example the simple case previously seen:

   A ::= SEQUENCE {
      a INTEGER,
      b SEQUENCE OF INTEGER,
      c BIT STRING
   }            
         

Let us assume for sake of argument that there are two integers in the inner SEQUENCE OF. In this case, the resulting CSV file will have two rows in addition to the header row.

The common data, columns a and c, will be repeated, while the repeated element b will change. For example:

   a,b,c
   1,97823789324,010010
   1,18927481,010010            
         

The data represented by the SEQUENCE OF are different from row to row, but the common elements are duplicated. While this example is very simple, it is possible to nest data types to an arbitrary depth, and the representation of columns and their data can be quite large. In pathological instances, the CSV output may be larger than the output generated by other tools like ASN2XML.