[Zope3-Users] Re: Empty ZCML file

Marius Gedminas mgedmin at b4net.lt
Tue Jan 16 08:27:44 EST 2007

On Mon, Jan 15, 2007 at 03:01:38PM -0800, Michael Bernstein wrote:
> I've seen plenty of examples of bare <include> directives (and they
> obviously work). Aside from the issue I had, is this not considered a
> good practice?

XML requires a document to have one and only one top-level element.
ZCML does not care if that element is <configure> or <include> or
something else.

I think a single <include> is fine for package include files, as they
are not intended to be modified.  The idea is that if you don't want
one, you'll remove it from the package-includes directory.

Marius Gedminas
Get a life?  Well, once I nearly found one, but the link was broken.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20070116/08b66402/attachment.bin

More information about the Zope3-users mailing list