Hello Tomas, You are right since a tag is a "number" and because of X680 11.8 is stating: "The first digit shall not be zero unless the 'number' is a single digit".
Yet, I guess some compilers will accept the syntax '01' maybe issuing a warning. Bruno Konik uniGone > -----Message d'origine----- > De : [email protected] [mailto:[email protected]] De la part de > Kukosa, Tomas > Envoyé : lundi 9 février 2009 12:41 > À : [email protected] > Objet : [Asn1] Tags with 0 prefix > > > Hi, > > am I right that following definition is not valid and leading zeros are > not allowed in tag numbers? > > -- from ETSI ES 201 296 V1.3.1 (2003-04) ChargingMessageType ::= CHOICE > { > crgt [00] ChargingTariffInformation , > aocrg [01] AddOnChargingInformation , > crga [02] ChargingAcknowledgementInformation , > start [03] StartCharging , > stop [04] StopCharging } > > Regards, > Tomas > > ----------------------------------------------------------------------- > ---------------- > Orange vous informe que cet e-mail a ete controle par l'anti-virus > mail. > Aucun virus connu a ce jour par nos services n'a ete detecte. > _______________________________________________ Asn1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1
