[Zope3-Users] Re: Empty ZCML file

Philipp von Weitershausen philipp at weitershausen.de
Tue Jan 16 10:18:29 EST 2007

Michael Bernstein wrote:
> As I experiment with Zope3 skins, I frequently have various
> *-overrides.zcml files I am using to switch the default skin. I tried
> today to comment out the only directive I had in one file (ie. like so:
> <!-- include package="foo" file="overrides.zcml" /--> ), and this caused
> an error.
> So, it looks like Zope does not like content-free ZCML files. Bug or
> Feature?
> Having to move the file isn't a problem, exactly, but it is annoying.

I typically don't (re)move it but simply rename it. If it doesn't end in 
"-configure.zcml" it won't be loaded.

http://worldcookery.com -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!

More information about the Zope3-users mailing list