[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - configure.zcml:1.8.2.1

Jim Fulton jim@zope.com
Fri, 4 Oct 2002 13:30:40 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File
In directory cvs.zope.org:/tmp/cvs-serv10951/lib/python/Zope/App/OFS/Content/File

Modified Files:
      Tag: ZopeDublinCore-branch
	configure.zcml 
Log Message:
Commiting branch prior to merge

=== Zope3/lib/python/Zope/App/OFS/Content/File/configure.zcml 1.8 => 1.8.2.1 ===
--- Zope3/lib/python/Zope/App/OFS/Content/File/configure.zcml:1.8	Thu Jul 25 18:09:31 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/File/configure.zcml	Fri Oct  4 13:30:09 2002
@@ -1,38 +1,37 @@
 <zopeConfigure xmlns='http://namespaces.zope.org/zope'>
 
-<!-- File Directives -->
-
 <content class=".File.">
+
   <factory
       id="File"
       permission="Zope.ManageContent"
       title="File"
       description="A File" />
+
   <require
       permission="Zope.View"
       interface=".IFile.IReadFile" />
+
   <require
       permission="Zope.ManageContent"
       interface=".IFile.IWriteFile" />
-</content>
 
-<adapter
-    factory="Zope.App.OFS.Annotation.AttributeAnnotations."
-    provides="Zope.App.OFS.Annotation.IAnnotations."
-    for=".IFile." />
+  <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
 
-<!-- NaiveFile Directives -->
+</content>
 
 <content class=".NaiveFile.">
+
   <factory
       id="NaiveFile"
       permission="Zope.ManageContent"
       title="Naive File"
       description="This is a simple file" />
   <require like_class=".File." />
-</content>
 
-<!-- I18n File Directives -->
+  <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
+
+</content>
 
 <content class=".I18nFile.">
   <factory
@@ -52,10 +51,10 @@
   <require
       permission="Zope.ManageContent"
       attributes="setDefaultLanguage removeLanguage" />
-</content>
 
+  <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
 
-<!-- Further Directives -->
+</content>
 
 <include package=".Views" />