sca-c-cpp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: NEW ISSUE: Document conventions
- From: Bryan Aupperle <aupperle@us.ibm.com>
- To: sca-c-cpp@lists.oasis-open.org
- Date: Mon, 1 Dec 2008 13:58:54 -0500
Target:
SCA C++ and C C&I Specifications:
sca-cppcni-1.1-spec-cd01-rev3.doc and sca-ccni-1.1-spec-cd01-rev3.doc
Description:
The SCA Liaison committee has asked us to add a small section on naming
conventions to the
frontmatter of the SCA C++ and C C&I specifications.
This needs to cover conventions for the names that are defined by SCA in
particular:
- names of elements and attributes in XSD files
- names of intents
This would be a good place to document typographic conventions as well:
- XML attributes are identified
in text as @attribute
- Language identifiers used
in text are in courier
- Literals in text are in italics
Proposal:
To each document, add a new section - 1.4:
1.4 Conventions
1.4.1 Naming Conventions
This specification follows some naming conventions for artifacts defined
by the specification,
as follows:
- For the names of elements and
the names of attributes within XSD files, the names follow
the CamelCase convention, with all names starting with a lower case letter.
e.g. <element
name="componentType"
type="sca:ComponentType"/>
- For the names of types within
XSD files, the names follow the CamelCase convention with
all names starting with an upper case letter
e.g. <complexType
name="ComponentService">
- For the names of intents, the
names follow the CamelCase convention, with all names
starting with a lower case letter, EXCEPT for cases where the intent represents
an
established acronym, in which case the entire name is in upper case.
An example of an intent which is an acronym is the "SOAP" intent.
1.4.2
Typographic Conventions
This specification follows some
typographic conventions for some specific constructs
- XML attributes are identified
in text as @attribute
- Language identifiers used in
text are in courier
- Literals in text are in italics
Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect
Master Inventor
Research Triangle Park, NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]