Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Convert-ASN1 CPAN distribution.

Report information
The Basics
Id: 60442
Status: new
Priority: 0/
Queue: Convert-ASN1

People
Owner: Nobody in particular
Requestors: aliirfan04 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Convert::ASN1 : Parsing problems with ENUMERATED OPTIONAL
Date: Tue, 17 Aug 2010 16:44:06 -0700 (PDT)
To: bug-Convert-ASN1 [...] rt.cpan.org
From: Irfan Ali <aliirfan04 [...] yahoo.com>
Dear Graham: I receive a parsing syntax error when I try to read in the following ASN.1 definition with Convert::ASN1 == Paging ::= SEQUENCE { pagingRecordList PagingRecordList OPTIONAL, systemInfoModification ENUMERATED {true(0)} OPTIONAL } PagingRecordList ::= INTEGER == However, if I make a slight modification and not use the "ENUMERATED OPTIONAL" bit, the syntax error goes away. == Paging ::= SEQUENCE { pagingRecordList PagingRecordList OPTIONAL, systemInfoModification Classe OPTIONAL } PagingRecordList ::= INTEGER Classe ::= ENUMERATED {true(0)} == Compiles without any syntax error. Not sure if there is a ASN.1 format error on my side or a bug in CONVERT::ASN1 Regards Irfan