[Zope3-dev] Making schema configuration more modular

Sidnei da Silva sidnei at enfoldsystems.com
Tue Dec 13 14:02:21 EST 2005


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


More information about the Zope3-dev mailing list