W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

IDL Syntax...

From: ANOQ of the Sun <anoq@vip.cybercity.dk>
Date: Fri, 03 Jul 1998 14:26:03 +0200
Message-ID: <359CCDDB.D3E55C5A@vip.cybercity.dk>
To: DOM List <www-dom@w3.org>

Are you aware of IDL's syntax wrt indentifiers and case sensitivity?
It is not allowed to use an identifier twice with the same name and
just different casing. So this is wrong:

interface DocumentContext {
  attribute Document	document;
            ^^^^^^^^    ^^^^^^^^

and this:

Node setNode(in wstring name, in Node node);
                                 ^^^^ ^^^^

omniidl2 (the stub compiler from omniORB2), fails to compile this.

Also I have had problems using IDL syntax words as identifiers,
so Attribute may not be a good name for an interface.
omniidl2 seems to compile it without problems though.

ANOQ of the Sun / Johnny Andersen

E-Mail:   anoq@vip.cybercity.dk or anoq@berlin-consortium.org
Homepage: http://users.cybercity.dk/~ccc25861/
Received on Friday, 3 July 1998 08:41:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC