Am Mittwoch, den 30.09.2009, 17:57 +0200 schrieb Sebastian Pipping:
> Fabian Groffen wrote:
> > Point remains that it looks in-consistant, for repo, name is an
> > attribute, while for owner it is a sub-element.  Why having attributes
> > in the first place anyway?
> 
> It's closer to the original layman-global.txt which also makes the
> converter scripts simpler (and faster) than the element approach.  I
> think it's just right.
Then you're doing something wrong in your converter script because that
would be a simple change.
A simple rule of thumb is: use attributes for values with predefined
contents, use elements otherwise. So, make "name" an element please.

-- 
Tiziano Müller
Gentoo Linux Developer
Areas of responsibility:
  Samba, PostgreSQL, CPP, Python, sysadmin, GLEP Editor
E-Mail   : dev-z...@gentoo.org
GnuPG FP : F327 283A E769 2E36 18D5  4DE2 1B05 6A63 AE9C 1E30

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to