[Dev] Overriding ContentItem attributes

Morgen Sagen morgen at osafoundation.org
Mon Dec 13 22:53:15 PST 2004


I just noticed that ZaoBao defines a two Kinds...

     
http://osafoundation.org/docs/current/model/parcels/osaf/examples/ 
zaobao/RSSChannel
     
http://osafoundation.org/docs/current/model/parcels/osaf/examples/ 
zaobao/RSSItem

...that have an attribute named "creator" (type String).  However,  
there is already an attribute on ContentItem named "creator" (type  
Contact)...

     
http://osafoundation.org/docs/current/model/parcels/osaf/contentmodel/ 
ContentItem

Because we are mapping these attributes to Python attributes we can't  
really use namespaces to differentiate them like we could in XML.  Do  
we (or should we) have a policy of not overriding the attributes  
defined on ContentItem?

~morgen



More information about the Dev mailing list