W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

Re: idl

From: Jon Ferraiolo <jferraio@Adobe.COM>
Date: Mon, 23 Oct 2000 09:45:37 -0700
Message-Id: <4.2.2.20001023093109.00cc06c0@mailsj.corp.adobe.com>
To: Stephane Conversy <conversy@emn.fr>
Cc: www-svg@w3.org
I'll take your word that enumerations don't exist in Java. I looked at the 
O'Reilly JavaScript book, and I don't see enumerations there, either. Given 
that the only language bindings that the W3C provides are Java and 
JavaScript, then we have a potential reason for why W3C IDLs don't have 
enumerations, since the W3C wants its IDLs to map to those two languages.

The SVG IDL was made to copy the techniques used by IDLs in other W3C 
specifications. The main reason the SVG IDL doesn't use enumerations is 
that the other specs don't use them either. The lack of enumerations in 
Java and JavaScript is probably why all W3C spec don't have enumerations in 
their IDLs.

Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated


At 11:45 AM 10/23/00 +0200, Stephane Conversy wrote:
>Hi.
>
>I'm new to the list, so please excuse-me if I ask for a
>previously answered question (I searched for keywords though).
>
>I'm trying to build a C++ parser using the idl.
>I was wondering why "enum" are not used with the various
>constants we can find in interface definition.
>
>Is there any reasons why enum are not used except the fact
>that this constructs does not exist in java ?
>
>Thanks,
>
>     Stephane
>
>PS: I noticed an egroup list coined svg-developper, I know
>it's not the place to ask, but is there a different goal for that
>list compared to www-svg ?
Received on Monday, 23 October 2000 12:46:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:48 GMT