W3C home > Mailing lists > Public > www-svg@w3.org > June 2002

IDL keyword as attribute name

From: Kevin Lindsey <kevlindev@kevlindev.com>
Date: Tue, 4 Jun 2002 22:58:28 -0500
Message-ID: <001f01c20c45$40d20e60$0100a8c0@lizard>
To: <www-svg@w3.org>
Hey folks,

I think that I've encounterd a small problem in svg.idl.  The SVGColorProfileElement interface defines an attribute named "local".  "local" is an IDL keyword and according to the CORBA spec (I'm looking at rev 2.5), you cannot use keywords as attribute names.  To remedy this, you can prepend an underscore, "_", to the name and then the IDL parser will remove it during the parse.

KevLinDev - http://www.kevlindev.com
Received on Tuesday, 4 June 2002 23:58:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:53 UTC