Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!ukc!acorn!osmith From: osmith@acorn.co.uk (Owen Smith) Newsgroups: comp.protocols.iso.dev-environ Subject: Re: ASN Macro Support (1988) Message-ID: <5541@acorn.co.uk> Date: 4 Mar 91 15:14:10 GMT References: <1991Mar1.170856.14132@i88.isc.com> Sender: osmith@acorn.co.uk Distribution: comp Organization: Acorn Computers Ltd, Cambridge, England Lines: 28 In article <1991Mar1.170856.14132@i88.isc.com> shh@i88.isc.com (Shiv Haris) writes: >I am trying to find out if there is any Macro support >in ASN for 1988 MHS. Isode 6.0 Pepy/Posy does not have >support for this. ASN.1 macros are a real pain in the neck to parse, and anyway you don't need support for macros to do 1988 MHS extensions. All you need is an "ANY defined by ID" kind of statement. I speak from practical experience of having used this kind of feature myself. I'm not sure if anything like this is in Pepy/Posy though. Example: ExtensionAttribute ::= Sequence { type [0] Integer, criticality [1] BitString DEFAULT {}, data [2] ANY { 0: ORName, 1: BitString, 2: Integer } DEFINED BY type } Owen. The views expressed are my own and are not necessarily those of Acorn.