[Zope-Checkins] CVS: Zope/lib/python/ZConfig/tests/input - base-datatype1.xml:1.1.2.1 base-datatype2.xml:1.1.2.1 base-keytype1.xml:1.1.2.1 base-keytype2.xml:1.1.2.1 base.xml:1.1.2.1 simplesections.xml:1.1.2.1 simple.xml:1.2.54.1 simplesections.conf:1.1.110.1

Fred L. Drake, Jr. fred at zope.com
Tue Oct 7 15:36:55 EDT 2003


Update of /cvs-repository/Zope/lib/python/ZConfig/tests/input
In directory cvs.zope.org:/tmp/cvs-serv6557/tests/input

Modified Files:
      Tag: Zope-2_7-branch
	simple.xml simplesections.conf 
Added Files:
      Tag: Zope-2_7-branch
	base-datatype1.xml base-datatype2.xml base-keytype1.xml 
	base-keytype2.xml base.xml simplesections.xml 
Log Message:
Merge the ZConfig trunk to Zope 2.7.
This adds support for two approaches to schema extension.


=== Added File Zope/lib/python/ZConfig/tests/input/base-datatype1.xml ===
<schema datatype="ZConfig.tests.test_schema.MySection">
  <sectiontype name="type-1"/>
</schema>



=== Added File Zope/lib/python/ZConfig/tests/input/base-datatype2.xml ===
<schema datatype="ZConfig.tests.test_schema.appsection">
  <sectiontype name="type-2"/>
</schema>


=== Added File Zope/lib/python/ZConfig/tests/input/base-keytype1.xml ===
<schema keytype="basic-key">
  <sectiontype name="type-1"/>
</schema>


=== Added File Zope/lib/python/ZConfig/tests/input/base-keytype2.xml ===
<schema keytype="ZConfig.tests.test_schema.uppercase">
  <sectiontype name="type-2"/>
</schema>


=== Added File Zope/lib/python/ZConfig/tests/input/base.xml ===
<schema>
  <sectiontype name="type-X"/>
</schema>


=== Added File Zope/lib/python/ZConfig/tests/input/simplesections.xml ===
<schema>
  <sectiontype name="section">
    <key name="var" />
    <key name="var-one" />
    <key name="var-two" />
    <key name="var-three" />
  </sectiontype>
  <sectiontype name="minimal" />
  <sectiontype name="trivial">
    <key name="var" />
  </sectiontype>

  <multisection type="section" name="*" attribute="sections" />
  <section type="minimal" name="*" attribute="minimal" />
  <section type="trivial" name="*" attribute="trivial" />

  <key name="var" />
  <key name="var-0" />
  <key name="var-1" />
  <key name="var-2" />
  <key name="var-3" />
  <key name="var-4" />
  <key name="var-5" />
  <key name="var-6" />
</schema>


=== Zope/lib/python/ZConfig/tests/input/simple.xml 1.2 => 1.2.54.1 ===
--- Zope/lib/python/ZConfig/tests/input/simple.xml:1.2	Fri Jan  3 16:05:59 2003
+++ Zope/lib/python/ZConfig/tests/input/simple.xml	Tue Oct  7 15:36:24 2003
@@ -17,8 +17,13 @@
   <key name="false-var-2" datatype="boolean" />
   <key name="false-var-3" datatype="boolean" />
 
-  <key name="list-1" />
-  <key name="list-2" />
-  <key name="list-3" />
-  <key name="list-4" />
+  <key name="list-1" datatype="string-list" />
+  <key name="list-2" datatype="string-list" />
+  <key name="list-3" datatype="string-list" />
+  <key name="list-4" datatype="string-list" />
+
+  <!-- added by include.conf -->
+  <key name="var2" />
+  <key name="var3" />
+  <key name="var4" />
 </schema>


=== Zope/lib/python/ZConfig/tests/input/simplesections.conf 1.1 => 1.1.110.1 ===
--- Zope/lib/python/ZConfig/tests/input/simplesections.conf:1.1	Tue Oct  8 17:42:17 2002
+++ Zope/lib/python/ZConfig/tests/input/simplesections.conf	Tue Oct  7 15:36:24 2003
@@ -1,7 +1,7 @@
 var foo
 var-0 foo-0
 
-<section name (delegate)>
+<section name>
   var bar
   var-one  splat
 </section>
@@ -22,8 +22,8 @@
 
 var-3 foo-3
 
-# An anonymous empty section that delegates:
-<section (delegate) />
+# An anonymous empty section:
+<section />
 
 var-4 foo-4
 




More information about the Zope-Checkins mailing list