question on ASN.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

question on ASN.1

stephen_han
Hi...
I am using ASN.1 1.3 now..

Why it does not generate the hrl file if the tag is SET?
Previous version 1.2.9.6 was generate the hrl file if the asn1 file
contains SET.

Here is the simple example...

EX1) not generating hrl file
People DEFINITIONS IMPLICIT TAGS ::=

BEGIN
EXPORTS Person;

Person ::= [PRIVATE 19] SET {
     name PrintableString,
     location INTEGER }

END

EX2) generating hrl file.
People DEFINITIONS IMPLICIT TAGS ::=

BEGIN
EXPORTS Person;

Person ::= [PRIVATE 19] SEQUENCE {
     name PrintableString,
     location INTEGER }

END




Reply | Threaded
Open this post in threaded view
|

question on ASN.1

Bertil Karlsson-2
Hi,
It's a known bug in version 1.3. It has been fixed in later
patches/releases.

/Bertil


stephen_han wrote:

>
> Hi...
> I am using ASN.1 1.3 now..
>
> Why it does not generate the hrl file if the tag is SET?
> Previous version 1.2.9.6 was generate the hrl file if the asn1 file
> contains SET.
>
> Here is the simple example...
>
> EX1) not generating hrl file
> People DEFINITIONS IMPLICIT TAGS ::=
>
> BEGIN
> EXPORTS Person;
>
> Person ::= [PRIVATE 19] SET {
>      name PrintableString,
>      location INTEGER }
>
> END
>
> EX2) generating hrl file.
> People DEFINITIONS IMPLICIT TAGS ::=
>
> BEGIN
> EXPORTS Person;
>
> Person ::= [PRIVATE 19] SEQUENCE {
>      name PrintableString,
>      location INTEGER }
>
> END