[Dev] Overriding ContentItem attributes

Katie Capps Parlante capps at osafoundation.org
Wed Dec 15 12:16:15 PST 2004


+1 to policy of not overriding the attributes defined on ContentItem.

I'm working on cleaning up the zaobao content model and will fix this.

Cheers,
Katie

Morgen Sagen wrote:

> 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
> 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> 
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev



More information about the Dev mailing list