Re: [Zope-dev] [ZConfig] "import" inhomogenous

2004-02-19 Thread Dieter Maurer
Fred Drake wrote at 2004-2-18 15:01 -0500: > ... importing schemas ... [DM] > > A use case is the import of the section types > > defined in "Zope.Startup.zopeschema.xml" for > > other ZEO applications that require access to the > > same ZODB database(s). It is far more > > convenient to access thi

Re: [Zope-dev] [ZConfig] "import" inhomogenous

2004-02-18 Thread Fred Drake
On Tuesday 17 February 2004 01:10 pm, Dieter Maurer wrote: > It would be better if the type of the imported > object (schema or component) were orthogonal > to the location from where the object is found > (in a package or via an URL). I agree, that does seem nicer. Another approach would be

[Zope-dev] [ZConfig] "import" inhomogenous

2004-02-18 Thread Dieter Maurer
The "import" element of ZConfig schemas is inhomogenous: * with a "package" attribute it imports a component from a Python package * with an "src" attribute it imports a schema from an URL It would be better if the type of the imported object (schema or component) were orthogonal