[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration - configuration-meta.zcml:1.1.2.1.10.1 name.py:1.1.2.12.10.2

Jim Fulton jim@zope.com
Mon, 3 Jun 2002 14:25:42 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Configuration
In directory cvs.zope.org:/tmp/cvs-serv14482/lib/python/Zope/Configuration

Modified Files:
      Tag: Zope3InWonderland-branch
	configuration-meta.zcml name.py 
Log Message:
Changed list attribute syntax to be more XML standard.
In particular, list attributes now expect items to be separated by
whitespace, rather than commas.


=== Zope3/lib/python/Zope/Configuration/configuration-meta.zcml 1.1.2.1 => 1.1.2.1.10.1 ===
   <!-- Zope.Configure -->
   <directives namespace="http://namespaces.zope.org/zope">
-    <directive name="hookable" attributes="name, module"
+    <directive name="hookable" attributes="name module"
        handler="Zope.Configuration.metaConfigure.provideHookable" />
-    <directive name="hook" attributes="name, implementation, module"
+    <directive name="hook" attributes="name implementation module"
        handler="Zope.Configuration.metaConfigure.provideHook" />
   </directives>
 


=== Zope3/lib/python/Zope/Configuration/name.py 1.1.2.12.10.1 => 1.1.2.12.10.2 ===
 
 def resolve(name, package='ZopeProducts', _silly=('__doc__',), _globals={}):
+    name = name.strip()
+    
     if name.startswith('.'):
         name=package+name