[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xmile] dashes vs underscores
Hi,Most of the model-related double words use in our standard use underscores to join them, e.g.<options><uses_conveyor/><uses_arrays/></options>and<sim_specs><start>0</start><stop>10</stop><dt>1</dt></sim_specs>I notice that as a contrast, all the attributes in styles and the display encoding use dashes to separate multiple words. This probably comes from the similarity to CSS.<stock name=”Bathtub” x=”50” y=”100” width=”45” height=”35” label-side=”TOP” color=”blue” background-color=”white” z-index=”1” font-family=”Arial” font-size=”9pt” font-weight=”bold” font-style=”italic” text-decoration=”underline” text-align=”center” vertical-text-align=”center” text-padding=”2px” font-color=”blue” text-border-color=”black” text-border-thickness=”1px” text-border-style=”solid”/>
Do we care about the inconsistency? If so, should we make them the same?You could make an argument that for tag names we use an underscore and for attributes we use a dash...WILL--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]