[Zope3-checkins] CVS: Zope3/src/zope/app/xmlrpc - configure.zcml:1.2

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Aug 4 20:19:54 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv1822/src/zope/app/xmlrpc

Modified Files:
	configure.zcml 
Log Message:
After wanting to fix XML-RPC for over a year, I finally got around to do
it. You can now specify view names, create default views and of course you
do not have access to the object's methods directly anymore.

Added some tests for all of this.

Updated XML-RPC directives. Made them also a bit more consistent with the 
browser ones.

This should make the XML-RPC code ready for the beta.


=== Zope3/src/zope/app/xmlrpc/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/xmlrpc/configure.zcml:1.1	Fri Feb  7 10:59:47 2003
+++ Zope3/src/zope/app/xmlrpc/configure.zcml	Mon Aug  4 19:19:19 2003
@@ -1,24 +1,20 @@
-<zopeConfigure
-   xmlns='http://namespaces.zope.org/zope'
-   xmlns:xmlrpc='http://namespaces.zope.org/xmlrpc'
-   >
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc">
 
 <xmlrpc:view 
     name="_traverse" 
     for="zope.interface.Interface"
-    factory="zope.app.publication.traversers.SimpleComponentTraverser" 
-    />
+    class="zope.app.publication.traversers.SimpleComponentTraverser" />
 
 <xmlrpc:view
     name="_traverse" 
     for="zope.app.interfaces.container.IItemContainer"
-    factory="zope.app.container.traversal.ItemTraverser" 
-    />
+    class="zope.app.container.traversal.ItemTraverser" />
 
 <xmlrpc:view
     name="_traverse" 
     for="zope.app.interfaces.container.IReadContainer"
-    factory="zope.app.container.traversal.ContainerTraverser" 
-    />
+    class="zope.app.container.traversal.ContainerTraverser" />
 
-</zopeConfigure>
+</configure>




More information about the Zope3-Checkins mailing list