emergency-msg message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Fwd: [emergency-msg] Federal XML Guidelines
- From: "Mark Carlson - Conneva, Inc." <conneva@gmail.com>
- To: emergency-msg@lists.oasis-open.org
- Date: Tue, 28 Mar 2006 11:09:29 -0700
More background for our XML element and type naming convention discussion. (Thanks, Robin).
BTW, the June 2005 Federal XML Guidelines are consistent with regard to element and attribute naming with the April 2002 draft I referenced earlier.
Mark
Reference document: Federal XML Naming and Design Rules. Draft Version 2. June 09, 2005. 105 pages.
Extracted text:
lines 1038-1039
[GNR8] The UpperCamelCase (UCC) convention MUST be used for naming
elements and types.
lines 1041-1041:
[GNR9] The lowerCamelCase (LCC) convention MUST be used for naming
attributes.
lines 1045-1049
4.2.1 Complex Type Names for Complex Data Elements
[CTN1] An xsd:complexType name based on a complex data element MUST
be the Dictionary Entry Name with the separators removed and
with with the suffix "Type" appended following the upper camel case
convention.
lines 989-995
[Note] The use of CamelCase for Dictionary Entry Names has been
considered, but has been rejected for following reasons:
- Use of CamelCase will not allow the use of spell checkers
- Strict use of CamelCase makes it impossible to use separators ("
.") and
therefore doesn't allow an unambiguous identification of the
composing parts of the Dictionary Entry Name.
---------- Forwarded message ----------
From: Robin Cover <
robin@oasis-open.org>
Date: Mar 28, 2006 10:55 AM
Subject: Re: [emergency-msg] Federal XML Guidelines
To: "Mark Carlson - Conneva, Inc." <conneva@gmail.com
>
Hi Mark. I don't know what the thread was about,
but these docs may be of interest:
http://xml.coverpages.org/camelCase.html
http://xml.coverpages.org/ndr.html
Robin Cover
=================
On Tue, 28 Mar 2006, Mark Carlson - Conneva, Inc. wrote:
> >From the April 2002 Draft Federal XML Developer's
> Guide<
http://xml.gov/documents/in_progress/developersguide.pdf>
>
> 3.1 STANDARDIZED CASE CONVENTION GUIDANCE
>
> Federal developers SHALL adopt the camel case convention, as defined by the
> ebXML Technical Architecture, when creating XML component names. Excerpts
> are provided in Appendix A.
>
> - XML Elements and XML Schema data types use upper camel case: The
> first letter in the name is upper case, as is the letter beginning each
> subsequent word.
> - XML Attributes use lower camel case: Like upper camel case, except
> the first letter of the first word is lower case.
>
>
> Mark
>
--
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]