E&S CVS Commit: PEAK - Revised patch to allow <schema extends="url url url..."> in ZConfig

pje at eby-sarna.com pje at eby-sarna.com
Tue Sep 16 17:32:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Tue Sep 16 21:31:04 UTC 2003

Modified Files:
	PEAK/src/ZConfig: schema.py

Log Message:
Revised patch to allow <schema extends="url url url..."> in ZConfig
schemas.  The 'extends=' attribute causes the named URLs to be used as a
basis for the current schema.  The Keytype, datatype, and valuetype of the
schema are inherited from the first listed schema that explicitly defines
that parameter.

This is roughly equivalent to including the content of the extended schema
in the current schema's body.  As a result, you cannot override
any section types, sections, or keys defined by one of the base schemas.

Note that this patch is *still* highly experimental, and not supported by
the authors of ZConfig.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/ZConfig/schema.py.diff?r1=1.4&r2=1.5

To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 PEAK/src/ZConfig/schema.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list