Diego 'Flameeyes' Pettenò wrote: > Tobias Scherbaum <[EMAIL PROTECTED]> writes: > > > But what about additional slot or version attributes like > > <link type="homepage" slot="1.4">http://java.sun.com/j2se/1.4.2/</link> > > (or a version attribute)? If slot and version aren't specified they'd be > > interpreted as wildcards. > > <link type="homepage" restrict="dev-java/sun-jdk:1.4"> > > The restrict attribute exists already and it's better to reuse the same > code, isn't it?
In general yes, but in that case you're duplicating info like "dev-java/sun-jdk" unnecessarily. Reducing this to restrict="1.4" isn't easily readable as you'd need to know that restrict would specify a slot. If your plan is to make it easier to find useful information about a package (without using a fancy frontend, just reading the metadata.xml with $EDITOR) slot="1.4" (or a version attribute) might be a tad more human readable. Tobias
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil