asn1 improvement proposal

Per Bergqvist <>
Tue Aug 26 09:32:05 CEST 2003


The asn1 en/decoder proberly handles ellipsis notation as it is

However, the decoder receives an extended PDU with 
ellipsis data it will simply discard that information.
There is no way to tell the encoder to add extension information.

I propose that each record generated by the compiler should add 
an additional '$ellipsis' field for the last '...' in a sequence/set.

The decoder should add any extension information to the '$ellipsis'
field. The encoder should allow the user to put extension information.

This improvement would allow creation of proxy functions where one
does not always have the latest available/vendor specific spec.

Per Bergqvist
Synapse Systems AB
Phone: +46 709 686 685

More information about the erlang-patches mailing list