[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: multiple attributes with the same value



Do attributes have to be unique within a symbol? Currently, gschem/gnetlist 
is a bit indifferent.

On the one hand:

* gnetlist issues a warning if the same attribute is set to different values 
in many symbol components.

* gnetlist seems to pick only the last value if an attribute is set more 
than once within a symbol

* the gschem attribute editor shows only the last instance of an attributein 
a symbol. 


On the other hand:

* The gschem attribute editor does not prevent adding a duplicate attribute
to a symbol.

* gnetlist does not warn if it hits the same attribute twice in a symbol.
  
 
The master attribute list does not address this issue at all. 
http://geda.seul.org/wiki/geda:master_attributes_list
 
The use case that had me stumble on this is the comment attribute. From a 
usability point of view, it looks intuitive to have more than one comment.
Of course, this might also be achieved by comment1, comment2, etc.

IMHO, there should be a clearly stated policy in the master attribute list.
Then the applications can deal with it accordingly.

---<)kaiamrtin(>---
-- 
Kai-Martin Knaak                                  tel: +49-511-762-2895
UniversitÃt Hannover, Inst. fÃr Quantenoptik      fax: +49-511-762-2211	
Welfengarten 1, 30167 Hannover           http://www.iqo.uni-hannover.de
GPG key:    http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user