[OpenAjaxIDE] Schema and spec updated per decisions on Tuesday

Jon Ferraiolo jferrai at us.ibm.com
Thu Sep 18 21:43:03 PDT 2008

I'm not sure I have a great answer. First off, the original tag came from
Aptana, and therefore there was some inertia with it. Strictly speaking,
the term is correctly stated in English as two words (user agent), which
would imply <userAgent>, butI doubt if many people would screen if it were
used (incorrectly) as a compound word (useragent) in a document, which
would result in <useragent>.

Here are the camel case tags that we have now:

<returnType>, <returnTypes>
<eventHandlerPatterns>, <addEventHandlerPattern>,

We also have <messagebundle>, which we didn't camel case because we
incorporated the feature as is from Google Gadgets.

We have several attributes that use camel case, but I'm too lazy to make a

I expect Aptana is the only implementer of <useragent> at this point.


             Bertrand Le Roy                                               
             microsoft.com>                                             To 
                                       Jon Ferraiolo/Menlo Park/IBM at IBMUS, 
             09/18/2008 04:36          "ide at openajax.org"                  
             PM                        <ide at openajax.org>                  
                                       RE: [OpenAjaxIDE] Schema and spec   
                                       updated per decisions on Tuesday    

Quick question: why is useragent not Camel-cased?

From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On Behalf
Of Jon Ferraiolo
Sent: Thursday, September 18, 2008 10:06 AM
To: ide at openajax.org
Subject: [OpenAjaxIDE] Schema and spec updated per decisions on Tuesday

I made lots of minor changes to the language schema and corresponding minor
changes to the spec to reflect what we decided at Tuesday's phone call.

As part of my process of updated the schema, I have finally got around to
checking the schema into our SVN project at SourceForge so that people can
see what schema changes were made with each revision. The base version was
the schema definition before Tuesday's phone call. The first update to the
SVN tree reflects the changes I made this week.

Here is a summary of the changes I made:

(a) The <returns> element is now <returnType>, with a corresponding plural
element <returnTypes>

(b) 'datatype' is now required on <returnType>

(c) 'platform' is now required on <useragent>

(d) We now allow multiple plural elements (previously at most one was
allowed). For example, you can now say:

<properties name="propbag1"><property .../><property .../></properties>
<properties name="propbag2"><property .../><property .../></properties>


<classes name="set1"><class .../><class .../></classes>
<classes name="set2"><class .../><class .../></classes>

and similarly for all of the plural elements that we have: aliases,
ancestors, authors, categories, childProperties, classes, constructors,
contents, enums, eventHandlerPatterns, events, examples, fields, icons,
interfaces, javascripts, methods, mixes, mixins, namespaces, references,
requires, returnTypes, topics

(e) There is now an optional 'name' attribute on the plural elements, and
the plural elements can also have any of the descriptive elements (in
particular., <title> as the localizable alternative to 'name')

(f) I fixed a schema bug where <enums> and <enum> weren't referenced from
<api> element

If anyone sees any problems with the above, please speak up.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080918/aa9f4122/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080918/aa9f4122/attachment.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic27494.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080918/aa9f4122/attachment-0001.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://openajax.org/pipermail/ide/attachments/20080918/aa9f4122/attachment-0002.gif 

More information about the IDE mailing list