Karine Duval wrote:
>
> "Egon Andersen, Talura" a �crit :
>
> > Karine Duval wrote:
> > >
> > > Hello,
> > > Using a java compiler which use asn1 files to generate java files but we
> > > have some problems with two differents keyword :
> > >
> > > - IMPORTS : we don't manage to use these instruction. We first compile
> > > the java class which is imported but in the second file it seems not to
> > > see the classes imported.
> > >
> > > - ERROR PARAMETER : we use a file containing some errors described as
> > > followed :
> > >
> > > CancelFailed ::= ERROR
> > > PARAMETER SEQUENCE {
> > > problem [0] ENUMERATED {
> > > unknownOperation (0),
> > > tooLate (1),
> > > operationNotCancellable (2)
> > > },
> > > operation [1] InvokeID
> > > --...
> > > }
> > > When we compile, an error occurs for this sentence.
> > >
> > > Does anyone faced those problems? Does anyone have some clues?
> > > Furthermore there are no error when compiling with a C compiler.
> > >
> > > Thanks,
> > > Karine DUVAL
> >
> > If I'm not mistakes, your example is using the old X.208 ASN.1 macro
> > notation.
> > Do your java compiler support X.208 or X.680-series?
>
> >
> > Best regards
> > Egon Andersen
> > --
> > * Talura ApS * Phone: +45 43 52 50 00 *
> > * Baldersh�j 24 B * mailto:[EMAIL PROTECTED] *
> > * DK-2635 Ish�j * http://www.talura.dk *
>
> I don't know what support my java compiler but it is surely the problem.
> But how can I translate these expressions in new ASN.1 macro notation?
http://asn1.elibel.tm.fr/en/standards/migration.htm
http://www.itu.int/ITU-T/studygroups/com07/changing-ASN.html
> Othewise where can I find the new notation?
In the books that you can freely download from
http://www.oss.com/asn1/booksintro.html
or in the ASN.1 standard series that you can freely download from:
http://www.itu.int/ITU-T/studygroups/com17/languages/
> Or do you know java compiler supporting this old notation?
Have a look at http://asn1.elibel.tm.fr/links/#java
--
Olivier DUBUISSON
France Telecom R&D
_ DTL/MSV - 22307 Lannion Cedex - France
( ) tel: +33 2 96 05 38 50 - fax: +33 2 96 05 39 45
/ \/ --------------------------------------
\_/\ Site ASN.1 : http://asn1.elibel.tm.fr/