[Zodb-checkins] CVS: Zope3/src/ZConfig/doc - schema.dtd:1.8 zconfig.pdf:1.9 zconfig.tex:1.72

Fred L. Drake, Jr. fred at zope.com
Thu Jul 10 15:40:17 EDT 2003


Update of /cvs-repository/Zope3/src/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv4271/doc

Modified Files:
	schema.dtd zconfig.pdf zconfig.tex 
Log Message:
Added "file" attribute to the "import" element; this allows a package to
provide more than one ZConfig schema component.


=== Zope3/src/ZConfig/doc/schema.dtd 1.7 => 1.8 ===
--- Zope3/src/ZConfig/doc/schema.dtd:1.7	Thu Jul 10 14:08:33 2003
+++ Zope3/src/ZConfig/doc/schema.dtd	Thu Jul 10 14:39:37 2003
@@ -34,6 +34,7 @@
 
 <!ELEMENT import EMPTY>
 <!ATTLIST import
+          file       CDATA    #IMPLIED
           package    NMTOKEN  #IMPLIED
           src        CDATA    #IMPLIED>
 


=== Zope3/src/ZConfig/doc/zconfig.pdf 1.8 => 1.9 ===
  <Binary-ish file>

=== Zope3/src/ZConfig/doc/zconfig.tex 1.71 => 1.72 ===
--- Zope3/src/ZConfig/doc/zconfig.tex:1.71	Thu Jul 10 11:29:26 2003
+++ Zope3/src/ZConfig/doc/zconfig.tex	Thu Jul 10 14:39:37 2003
@@ -402,11 +402,18 @@
   Import a schema component.
   Exactly one of the two possible attributes must be specified.
 
+  \begin{attributedesc}{file}{file name without directory information}
+    Name of the component file within a package; if not specified,
+    \file{component.xml} is used.  This may only be given when
+    \attribute{package} is used.
+  \end{attributedesc}
+
   \begin{attributedesc}{package}{\datatype{dotted-name}}
     Python-package style name that identifies a directory found on
     \code{sys.path} containing a schema component in a file named
-    \file{component.xml}.  Dots in the value are converted to
-    directory separators.
+    \file{component.xml} (unless the file name is overridden using
+    \attribute{file}).  Dots in the value are converted to directory
+    separators.
   \end{attributedesc}
 
   \begin{attributedesc}{src}{\datatype{url-reference}}




More information about the Zodb-checkins mailing list