[EMAIL PROTECTED] wrote:

In the Module MhsAcctAsn1Module (X.462:10/1996),

I guess you are using: http://www.itu.int/ITU-T/asn1/database/itu-t/x/x462/1996/MhsAcctAsn1Module.html

> the symbol MTSIdentifier is
defined twice in the IMPORTS clause.

It is not *defined* twice, but *imported* twice.


> The book, written by O. Dubuisson,
page 115 paragraph 16 in the french edition, explains a symbol is uniquely
defined.

It is not what rule <15> says.


> Does the parser import the symbol separately considerating the FROM
map ?

The relevant rule is <21> on the next page: "MTSIdentifier" is imported twice, so the only way to reference it is by way of an "ExternalTypeReference" that includes the modulename to avoid ambiguity.
Note that "MTSIdentifier" is not referenced in the body of module "MhsAcctAsn1Module", so there is no problem (it is imported so that it can be re-exported to any other ASN.1 module that imports definitions from module "MhsAcctAsn1Module").
--
Olivier DUBUISSON
france telecom R&D


DTL/TAL - 22307 Lannion Cedex - France
t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/




Reply via email to