Subject: | Convert::ASN1 parsing problems |
Date: | Tue, 16 Mar 2004 13:03:24 -0500 |
From: | "Bruce, Jason" <Jason.Bruce [...] Nextel.com> |
To: | <bug-Convert-ASN1 [...] rt.cpan.org> |
I have tried to parse the attached to no avail. I get different output depending on whether I attempt to parse it using asn_read or asn_get. My latest attempt is attached. It contains 3 files and uses asn_read.
1) CDAUSTAUSANC01169.tap3
2) parse_tap3.pl
3) tap3.asn
Where 1 is the data file, 2 is the perl script used, and 3 is the asn rules/definitions.
Note that asn_dump and asn_dumphex work fine. I have verifed the dump output through another parser which runs on Windows. The fact that the dumps work ok leads me to believe that tap3.asn is fine. Contradicting this, I get the following error when trying to read in the file...
Bad ASN PDU at /usr/lib/perl5/site_perl/5.6.0/Convert/ASN1/IO.pm line 178.
When I try to decode the file - just after the hex dump, I get the following...
decode error 61<=>7f827b at /usr/lib/perl5/site_perl/5.6.0/Convert/ASN1/_decode.pm line 110.
Any help you can give would be appreciated.
Jason Bruce
<<tap3.zip>>
Message body not shown because it is not plain text.