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

pje at eby-sarna.com pje at eby-sarna.com
Wed Sep 3 18:24:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Wed Sep  3 22:23:47 UTC 2003

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

Log Message:
Temporary 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.  If the current schema doesn't define a
datatype, the datatype of the first named schema is used instead.  Note
that the body of the schema may *not* override anything defined by a base
schema, although base schemas can override each other.  Schemas should be
listed in Python-style inheritance order, i.e. the first definition listed
has priority.

Note that this patch is 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.2&r2=1.3

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 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