Bertil Karlsson <>
Tue Jan 10 10:51:25 CET 2006


The CONTAINING constraint is not coverd in the OTP asn1 compiler yet.
In your example I think the intention is to embed the encoded value of 
BaseType at the place of the constraint. The only work around I can 
think of is to modify the spec so that the type of BaseType becomes a 
local type instead of a parameter. Then you have to pass the un-encoded 
value instead of BaseType.


Eranga Udesh wrote:

>Is "CONTAINING" type constraint implemented in Erlang ASN.1 compiler? If
>not, are there any workaround ways? Attached is the spec part.
>Please advice soon.
>- Eranga

More information about the erlang-questions mailing list