[Zodb-checkins] CVS: StandaloneZConfig/ZConfig/doc - zconfig.tex:1.81

Fred L. Drake, Jr. fred at zope.com
Fri Jan 2 00:27:48 EST 2004


Update of /cvs-repository/StandaloneZConfig/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv11200/ZConfig/doc

Modified Files:
	zconfig.tex 
Log Message:
derived section types now inherit their datatype from the base type


=== StandaloneZConfig/ZConfig/doc/zconfig.tex 1.80 => 1.81 ===
--- StandaloneZConfig/ZConfig/doc/zconfig.tex:1.80	Wed Dec 31 20:58:49 2003
+++ StandaloneZConfig/ZConfig/doc/zconfig.tex	Fri Jan  2 00:27:16 2004
@@ -428,7 +428,10 @@
     The data type converter which will be applied to the value of this
     section.  If the value is a \datatype{dotted-name} that begins
     with a period, the value of \attribute{prefix} will be pre-pended,
-    if set.
+    if set.  If \attribute{datatype} is omitted and
+    \attribute{extends} is used, the \attribute{datatype} from the
+    section type identified by the \attribute{extends} attribute is
+    used.
   \end{attributedesc}
 
   \begin{attributedesc}{extends}{\datatype{basic-key}}
@@ -439,7 +442,9 @@
     is defined with only the keys and sections contained within the
     \element{sectiontype} element.  The new section type is called a
     \emph{derived} section type, and the type named by this attribute
-    is called the \emph{base} type.
+    is called the \emph{base} type.  The value for the
+    \attribute{datatype} attribute is acquired from the base type if
+    not specified.
   \end{attributedesc}
 
   \begin{attributedesc}{implements}{\datatype{basic-key}}




More information about the Zodb-checkins mailing list