-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dieter Maurer wrote:
> Chris Withers wrote at 2006-9-25 18:44 +0100:
>> ...
>> Can we have a papal edict that zcml that has side effects is a bug?
>> (including the dotted name thing...)
> 
> Hm: the purpose of "zcml" is to have side effects (register things,
> patch classes with marker interfaces, add permissions, ...)

But not during *parsing* of the ZCML:  parsing is supposed to create a
sequence of actions, which, when executed in sequence, make those changes.

Because we check some kinds of errors too early (during parsing:  in
particular, we check the resolvability of "dotted names"), we force some
directives to have "early" effects.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGWuy+gerLs4ltQ4RAjlIAJwK15uUCu6ZRTID+lYnQcsxekQCzQCfbkwI
MukYTI07cG07nUAgdVudcTQ=
=OU26
-----END PGP SIGNATURE-----
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to