- From: Alexandre Morgaut <Alexandre.Morgaut@4d.com>
- Date: Mon, 24 Jun 2013 14:12:24 +0200
- To: Jim Barnett <Jim.Barnett@genesyslab.com>
- CC: Anne van Kesteren <annevk@annevk.nl>, Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 12 juin 2013, at 23:01, Jim Barnett wrote: > If I go to this link http://www.w3.org/TR/2012/WD-dom-20121206/#exception-domexception I see Exceptions defined in all caps, The "all caps" format is used by convention for naming the constants properties You can see such constants on many W3C API, in which they are associated to numeric values: - DOM Core: - level 3 - http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-17189187 (DOM Exception) - http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1950641247 (Node) - http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo - http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler - DOM4 - http://www.w3.org/TR/dom/#node -> http://www.w3.org/TR/dom/#dom-node-nodetype -> http://www.w3.org/TR/dom/#dom-node-comparedocumentposition - http://www.w3.org/TR/dom/#range - http://www.w3.org/TR/dom/#nodeiterator - http://www.w3.org/TR/dom/#nodefilter - DOM Events: - level 2 - http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-interface - http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventException - http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-MutationEvent - level 3 - http://www.w3.org/TR/DOM-Level-3-Events/#events-Event - http://www.w3.org/TR/DOM-Level-3-Events/#events-WheelEvent - http://www.w3.org/TR/DOM-Level-3-Events/#events-KeyboardEvent - http://www.w3.org/TR/DOM-Level-3-Events/#events-MutationEvent - DOM4 - http://www.w3.org/TR/dom/#event - XMLHttpRequest: - level 1 - http://www.w3.org/TR/XMLHttpRequest/#states - level 2 - http://www.w3.org/TR/XMLHttpRequest2/#states - Web Sockets: - http://www.w3.org/TR/websockets/#websocket - Event Source: - http://www.w3.org/TR/2012/CR-eventsource-20121211/#eventsource - File API - http://www.w3.org/TR/FileAPI/#dfn-filereader - Navigation Timing: - http://www.w3.org/TR/2012/REC-navigation-timing-20121217/#performancenavigation - geolocation API - v1 - http://www.w3.org/TR/geolocation-API/#position_error_interface - v2 - http://www.w3.org/TR/geolocation-API-v2/#position_error_interface > but if I click on the name of any specific exception, I see them defined in CamelCase. The upperCamelCase is used for the associated "values" of the "name" property > Alexandre Morgaut Wakanda Community Manager 4D SAS 60, rue d'Alsace 92110 Clichy France Standard : +33 1 40 87 92 00 Email : Alexandre.Morgaut@4d.com Web : www.4D.com
Received on Monday, 24 June 2013 12:10:30 UTC