On 30-09-2009 17:36:47 +0200, Sebastian Pipping wrote: > Tiziano Müller wrote: > > Am Montag, den 28.09.2009, 20:23 +0200 schrieb Sebastian Pipping: > >> repositories.xml > >> ===================================================================== > >> <repo > >> name="sping" > >> quality="experimental" > >> status="unofficial"> > >> <description>Gentoo overlay of Sebastian Pipping</description> > >> <homepage>http://git.goodpoint.de/?p=overlay-sping.git</homepage> > >> <owner type="person"> > >> <email>sebast...@pipping.org</email> > >> <name>Sebastian Pipping</name> > >> </owner> > >> <source type="git">git://git.goodpoint.de/overlay-sping.git</source> > >> <feed>http://git.goodpoint.de/?p=overlay-sping.git.git;a=atom</feed> > >> </repo> > >> ===================================================================== > > > > What is the reason that "name" is an attribute? While quality, status > > and type have a distinct set of allowed values, name doesn't and I'd > > therefore set it as an element instead. > > I don't see value in that change and I like name as it is.
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 XML, so it may be extremely annoying to parse/use. -- Fabian Groffen Gentoo on a different level