Alan Horkan
http://advogato.org/person/AlanHorkan/
On Tue, 3 Aug 2004, MenTaLguY wrote:
Date: Tue, 03 Aug 2004 00:06:08 -0400
From: MenTaLguY <mental@...3...>
To: Inkscape ML <inkscape-devel(a)lists.sourceforge.net>
Subject: [Inkscape-devel] convention for XML names
Although it's not crucial, could we settle on using XML names that
adhere to a specific convention?
I'm a little worried that having:
inkscape:one-thing
inkscape:another_thing
inkscape:YetAnotherThing
its a tiny difference but wouldnt that be starting off as lowercase?
inkscape:yetAnotherThing
as element/attribute names in the same SVG file, while permissible,
looks unprofessional.
The SVG spec seems to be similarly inconsistant (quickly grabbed from the
SVG Mobile specs):
altGlyph, altGlyphDef, altGlyphItem, glyphRef, text, textPath, tref, tspan
and
definition-src, font, font-face, font-face-format, font-face-name,
font-face-src, font-face-uri,
I'm thinking there is some sort of consistancy here, I'm just not sure
entirely what it is.
Anthing that is style related seems to be consistantly of the form
item-name
and things looking at other things like viewBox and textPath there
really seems to be a pattern, I'm sure there must be a rule (at least an
informal convention) already.
I personally favor using lowercase words separated with dashes (-).
definately makes sense to me at least for style related information
Hope that helps.
Sincerely
Alan Horkan