[Zope3-Users] Re: Empty ZCML file

Martin Aspeli optilude at gmx.net
Mon Jan 15 17:31:36 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.

You should always have the <configure> .. </configure> directive; you 
can comment out what's in-between.

Martin



More information about the Zope3-users mailing list