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 represented once in the output file (unless -padFields is specified), while the repeated element b will change. For example:

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

If you have chosen to pad the fields, the output will look like this:

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

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.