There's nothing magic going on here.  A file can
contain meta directives or ordinary directives.
site.zcml just includes other files, which include
other files, and so on.  Some of these are named
"meta.zcml", which, by convention contain meta
directives.

Jim

Nathan R. Yergler wrote:
Thanks for the quick reply, Fred.

So it looks like zope.configuration.xmlconfig.file is responsible for
reading the ZCML file and parsing the directives.  I did find the
directives in zope.app.component.  I guess the outstanding question in
my mind is what gets called to process meta.zcml and site.zcml.

Does Zope3 just call xmlconfig.file on the root meta.zcml (which in
turn includes the other package meta files), and then xmlconfig.file
on site.zcml (which also includes the others)?

Maybe I need to go back and review my ZConfig... it's been a while
since I used regularly.

Nathan


On 4/26/05, Fred Drake <[EMAIL PROTECTED]> wrote:

On 4/26/05, Nathan R. Yergler <[EMAIL PROTECTED]> wrote:

successfully as such), but was wondering if someone could point me
toward the code in Zope 3 SVN which is responsible for reading
meta.zcml for directive definitions and subsequently configure.zcml
for adapter registration, etc.

The ZCML machinery is in zope.configuration; the specific directives that handle basic registrations are in zope.app.component. Unless somebody's moved them. :-)

 -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


_______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/jim%40zope.com



--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
_______________________________________________
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