On Fri, 2010-04-09 at 14:36 +0100, Mark McLoughlin wrote:
On Fri, 2010-04-09 at 10:09 +0100, Mark McLoughlin wrote:
> On Thu, 2010-04-08 at 12:06 +0200, Geert Jansen wrote:
> > - (Potential bike shed painting alert).. You seem to be using
> > mixedCase for the attributes while i'm using lowercase. It a quick
> > consensus likely? Is there a prevailing convention in other REST APIs?
>
> Good point ...
>
> Your API and deltacloud both use lower_case, whereas bburke's examples
> use lower-case
>
> I deem the consensus to be lower_case. Case closed! :-)
Uh, oh - there's a potential fly in that ointment
deltacloud uses both lower_case and lower-case
<owner_id>larry</owner_id>
...
<public-addresses>
David?
Consistency is the hobgoblin of small minds ;)
Seriously though, it is inconsistent and needs to be addressed. I don't
much care one way or the other. Using '-' looks more XML'ish to me,
using '_' makes it a little easier to use tag names as symbols in Ruby.
David