[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-30 Thread yuppie
Martin Aspeli wrote: yuppie wrote: I'm not happy with the current file format. But representing containers is a general problem and I want *one* generic solution that works for all use cases. I'm not sure most people think of portal_types as a container per se. Rather, they think I need to

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread yuppie
Hi! Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a directory full of files - types/*.xml and workflows/*.xml - to initialise them. However, in both cases, there is enough

Re: [Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Charlie Clark
Am 29.06.2008 um 15:04 schrieb yuppie: Some tools are ordered containers, the types tool might become ordered as well. GS always specifies the order of sub-objects in the container's file. I suppose you could bundle all the information into a single types.xml file - like you can with

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Martin Aspeli
yuppie wrote: Hi! Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a directory full of files - types/*.xml and workflows/*.xml - to initialise them. However, in both cases,

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread yuppie
Hi! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a directory full of files - types/*.xml and workflows/*.xml - to initialise them.

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Martin Aspeli
yuppie wrote: Hi! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a directory full of files - types/*.xml and workflows/*.xml - to

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: yuppie wrote: Hi! Martin Aspeli wrote: yuppie wrote: Martin Aspeli wrote: The GS handlers for portal_types and portal_workflow both require a single file - types.xml and workflows.xml - that declares the objects, and a

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Martin Aspeli
Tres Seaver wrote: One point of the types.xml file is that the type name may *not* map intuitively onto the name of the XML file (people seem determined to embed spaces in object names, for instance). Sure. So now we rely on a not entirely obvious convention (space becomes underscore) and/or

[Zope-CMF] Re: Why do we need types.xml and workflows.xml?

2008-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Aspeli wrote: Tres Seaver wrote: One point of the types.xml file is that the type name may *not* map intuitively onto the name of the XML file (people seem determined to embed spaces in object names, for instance). Sure. So now we rely