To ensure consistent capitalization and naming conventions across all ebXML specifications, use the Upper Camel Case (UCC) and Lower Camel Case (LCC) capitalization styles.
These styles employ the following conventions:
UCC style capitalizes the first character of each word and compounds the name.
LCC style capitalizes the first character of each word except the first word.
When you are producing ebXML documents that follow DTD, XML Schema, and XML instance conventions, use the following rules:
Element names are in the UCC convention, for example:
<UpperCamelCaseElement/>
Attribute names are in the LCC convention, for example:
<UpperCamelCaseElement lowerCamelCaseAttribute="Item"/>
When you use UML and Object Constrained Language (OCL) to specify ebXML naming capitalization, observe the following rules:
For Class, Interface, Association, Package, State, Use Case, and Actor names, use the UCC convention, for example, ClassificationNode, Active, or InsertOrder.
For Attribute, Operation, Role, Stereotype, Instance, Event, and Action names, use the LCC convention, for example, name, notifySender, or orderArrived.
General rules for all names are:
Avoid acronyms, but in cases where you have to use them, keep the capitalization, for example, XMLSignature.
Do not use underscores ( _ ), periods ( . ), or dashes ( - ). For example, instead of using title.document, stock_sale_6, or dollar-value, use TitleDocument, stockSale6, and DollarValue.