[z3-five] Conundrum: parse time validation vs. on-the-fly creation

Tres Seaver tseaver at zope.com
Mon Aug 2 23:53:48 MEST 2004


Damn!  I just added a new directive, '<five:bridge>', which works 
brilliantly:   it creates a Zope3 interface from a Zope2 interface, and 
seats it into a module.   The problem is that, used in ZCML, you can't 
both create the interface (via 'bridge') and then bind it (via 
'implements'), because the validator for 'implements' can't find the 
not-yet-created interface at parse time.

Any notions about how to address such a problem?

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com



More information about the z3-five mailing list