wiki-archive/twiki/data/UBIF/ResolvedTopicAttributesLowe...

25 lines
2.0 KiB
Plaintext
Raw Normal View History

%META:TOPICINFO{author="LeeBelbin" date="1258682524" format="1.1" version="1.10"}%
%META:TOPICPARENT{name="UBIF.SchemaDiscussion"}%
---+!! %TOPIC%
Currently in Main.BDI and ABCD the element names are capitalized to allow running multiple words together in a readable way (e. g. "<nop>NaturalLanguageDescriptions"). From what I remember from Trevor's slides at the Berlin meeting, <nop>TaxonNames is also using this style. This largely conforms with Java style (except that the simple-type elements should rather be lower case, being members of the class) and fully with .NET style.
However, the xml attributes are currently all lower case in Main.BDI ("language") and capitalized in ABCD ("Language"). I have no information on <nop>TaxonNames. I suggest all-lower case for attributes (xhtml-style), under the assumption that attributes are sparsely used (as is currently the case in Main.BDI). Can we agree on this? I see no problems following ABCD style and treat attributes and elements under the same rules. However, before we change Main.BDI I would like to make sure that the relevant TDWG/GBIF standards follow the same style.
Are there any other standards that should be considered? Please respond ASAP, changing this later would be annoying.
-- [[Main.GregorHagedorn][Gregor Hagedorn]] - 25 May 2004
Please stick to the upper plus lower case convention for element names. In attributes I will adapt to any (common) naming convention.
-- Walter Berendsohn - 25 May 2004
In <nop>TaxonNames/Concepts we also use the upper plus lower case convention for all element names and the all lower case for attribute names so would vote to stay with that.
-- Jessie Kennedy - 28 May 2004
The topic seems to be resolved and lower case attributes accepted.
-- [[Main.GregorHagedorn][Gregor Hagedorn]] - 28 May 2004
%META:TOPICMOVED{by="GregorHagedorn" date="1089915454" from="SDD.ResolvedTopicAttributesLowerOrUpperCase" to="UBIF.ResolvedTopicAttributesLowerOrUpperCase"}%