[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/DublinCore - General.py:1.3 PropertySchemas.py:1.3

Jim Fulton jim@zope.com
Mon, 11 Nov 2002 16:00:07 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/DublinCore
In directory cvs.zope.org:/tmp/cvs-serv21423

Modified Files:
	General.py PropertySchemas.py 
Log Message:
Changed to use new single-line field types.


=== Zope3/lib/python/Zope/App/DublinCore/General.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/DublinCore/General.py:1.2	Fri Oct  4 15:05:50 2002
+++ Zope3/lib/python/Zope/App/DublinCore/General.py	Mon Nov 11 16:00:06 2002
@@ -17,12 +17,12 @@
 """
 
 from Interface import Interface
-from Zope.Schema import Text
+from Zope.Schema import Text, TextLine
 
 class IDublinCoreElementItem(Interface):
     """A qualified sublin core element"""
 
-    qualification = Text(title = u"Qualification",
+    qualification = TextLine(title = u"Qualification",
                          description = u"The element qualification"
                          )
 


=== Zope3/lib/python/Zope/App/DublinCore/PropertySchemas.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/DublinCore/PropertySchemas.py:1.2	Fri Oct  4 15:05:50 2002
+++ Zope3/lib/python/Zope/App/DublinCore/PropertySchemas.py	Mon Nov 11 16:00:06 2002
@@ -16,7 +16,7 @@
 """
 
 from Interface import Interface
-from Zope.Schema import Text, Datetime, Sequence
+from Zope.Schema import Text, TextLine, Datetime, Sequence
 
 # XXX This will need to be filled out more.
 
@@ -24,7 +24,7 @@
     """Basic descriptive meta-data properties
     """
 
-    title = Text(
+    title = TextLine(
         title = u'Title',
         description =
         u"The first unqualified Dublin Core 'Title' element value."
@@ -82,13 +82,13 @@
     creators = Sequence(
         title = u'Creators',
         description = u"The unqualified Dublin Core 'Creator' element values",
-        value_types = (Text(),),
+        value_types = (TextLine(),),
         )
 
     subjects = Sequence(
         title = u'Subjects',
         description = u"The unqualified Dublin Core 'Subject' element values",
-        value_types = (Text(),),
+        value_types = (TextLine(),),
         )
 
     publisher = Text(
@@ -101,7 +101,7 @@
         title = u'Contributors',
         description =
         u"The unqualified Dublin Core 'Contributor' element values",
-        value_types = (Text(),),
+        value_types = (TextLine(),),
         )