logo       
Google Custom Search
    AddThis Social Bookmark Button

tags win, I think: msg#00205

Subject: tags win, I think
Hi,

the rather unscientific straw poll taken earlier by reading people's responses suggests that only 3 people prefer attributes in most cases.

After I get the installer stable enough to justify any twiddling with the format, I will do the following mods

1) channel will become a tag

<name>packagename</name>
<channel>pear.php.net</channel>

instead of

<name channel="pear.php.net">packagename</name>

2) maintainer attributes will be tags
3) dependency attributes will be tags
4) the version/stability tags will also use tags

instead of

<version api="1.1" package="1.6.1"/>
<stability api="stable" package="stable"/>

<version>
 <api>1.1</api>
 <package>1.6.1</package>
</version>
<stability
 <api>stable</api>
 <package>stable</package>
</stability>

I'm not going to change anything for a few days, probably, so any major objections should be raised soon.

I'm not going to change the use of attributes in <file> tags, that would just make things wholly unreadable.

Greg




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>