Dominic Steinitz wrote:

4. I assume this is invalid but asnp (http://asn1.elibel.tm.fr/tools/asnp) and asn1c (http://lionet.info/asn1c/asn1c.cgi) accept it.

Please note that Asnp is only a *syntax* checker (not a *semantic* checker) and the following piece of ASN.1 syntax is totally valid as far as syntax is concerned.

   Bar ::= SEQUENCE {
      bar ANY DEFINED BY type,
      foo INTEGER
      }
--
Olivier DUBUISSON
France Telecom
Pilotage de la normalisation/Deputy Director Standards Steering
R&D/TCH/NOR - 22307 Lannion Cedex - France
tel: +33 2 96 05 38 50 - fax: +33 2 96 05 39 45


_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to