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>
Hello!


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.


Cheers
-- 
,
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT