Re: [Zope3-dev] Making schema configuration more modular

2006-01-03 Thread Stephan Richter
On Tuesday 13 December 2005 14:02, Sidnei da Silva wrote:
 Would anyone be against those changes?

I would be okay with this abstraction, since you have provided a useful use 
case.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics  Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com



[Zope3-dev] Making schema configuration more modular

2005-12-13 Thread Sidnei da Silva
Here's one thing that I would like to see fixed.

In Zope 3 trunk right now, the schema for the server is defined in
zope/app/twisted/schema.xml. However, if I'm not mistaken, you can't
import that directly from another schema. Instead, the type
definitions should be in a separate component.xml which then you can
import.

Also, the type names should be prefixed. Eg: instead of sectiontype
name=server use sectiontype name=zope.app.twisted.server.

This is all so we can reuse the sectiontype definition in
zopeschema.xml on Zope 2 without having to re-define them.

Would anyone be against those changes?

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com
___
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com